Class Finding.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
- com.google.cloud.websecurityscanner.v1beta.Finding.Builder
-
- All Implemented Interfaces:
FindingOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Finding
public static final class Finding.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder> implements FindingOrBuilder
A Finding resource represents a vulnerability instance identified during a ScanRun.
Protobuf typegoogle.cloud.websecurityscanner.v1beta.Finding
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Finding.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Finding
build()
Finding
buildPartial()
Finding.Builder
clear()
Finding.Builder
clearBody()
The body of the request that triggered the vulnerability.Finding.Builder
clearDescription()
The description of the vulnerability.Finding.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Finding.Builder
clearFinalUrl()
The URL where the browser lands when the vulnerability is detected.Finding.Builder
clearFindingType()
The type of the Finding.Finding.Builder
clearForm()
An addon containing information reported for a vulnerability with an HTML form, if any.Finding.Builder
clearFrameUrl()
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.Finding.Builder
clearFuzzedUrl()
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.Finding.Builder
clearHttpMethod()
The http method of the request that triggered the vulnerability, in uppercase.Finding.Builder
clearName()
The resource name of the Finding.Finding.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Finding.Builder
clearOutdatedLibrary()
An addon containing information about outdated libraries.Finding.Builder
clearReproductionUrl()
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.Finding.Builder
clearTrackingId()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.Finding.Builder
clearViolatingResource()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.Finding.Builder
clearVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.Finding.Builder
clearVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.Finding.Builder
clearXss()
An addon containing information reported for an XSS, if any.Finding.Builder
clone()
String
getBody()
The body of the request that triggered the vulnerability.com.google.protobuf.ByteString
getBodyBytes()
The body of the request that triggered the vulnerability.Finding
getDefaultInstanceForType()
String
getDescription()
The description of the vulnerability.com.google.protobuf.ByteString
getDescriptionBytes()
The description of the vulnerability.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFinalUrl()
The URL where the browser lands when the vulnerability is detected.com.google.protobuf.ByteString
getFinalUrlBytes()
The URL where the browser lands when the vulnerability is detected.String
getFindingType()
The type of the Finding.com.google.protobuf.ByteString
getFindingTypeBytes()
The type of the Finding.Form
getForm()
An addon containing information reported for a vulnerability with an HTML form, if any.Form.Builder
getFormBuilder()
An addon containing information reported for a vulnerability with an HTML form, if any.FormOrBuilder
getFormOrBuilder()
An addon containing information reported for a vulnerability with an HTML form, if any.String
getFrameUrl()
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.com.google.protobuf.ByteString
getFrameUrlBytes()
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.String
getFuzzedUrl()
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.com.google.protobuf.ByteString
getFuzzedUrlBytes()
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.String
getHttpMethod()
The http method of the request that triggered the vulnerability, in uppercase.com.google.protobuf.ByteString
getHttpMethodBytes()
The http method of the request that triggered the vulnerability, in uppercase.String
getName()
The resource name of the Finding.com.google.protobuf.ByteString
getNameBytes()
The resource name of the Finding.OutdatedLibrary
getOutdatedLibrary()
An addon containing information about outdated libraries.OutdatedLibrary.Builder
getOutdatedLibraryBuilder()
An addon containing information about outdated libraries.OutdatedLibraryOrBuilder
getOutdatedLibraryOrBuilder()
An addon containing information about outdated libraries.String
getReproductionUrl()
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.com.google.protobuf.ByteString
getReproductionUrlBytes()
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.String
getTrackingId()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.com.google.protobuf.ByteString
getTrackingIdBytes()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.ViolatingResource
getViolatingResource()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.ViolatingResource.Builder
getViolatingResourceBuilder()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.ViolatingResourceOrBuilder
getViolatingResourceOrBuilder()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.VulnerableHeaders
getVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.VulnerableHeaders.Builder
getVulnerableHeadersBuilder()
An addon containing information about vulnerable or missing HTTP headers.VulnerableHeadersOrBuilder
getVulnerableHeadersOrBuilder()
An addon containing information about vulnerable or missing HTTP headers.VulnerableParameters
getVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.VulnerableParameters.Builder
getVulnerableParametersBuilder()
An addon containing information about request parameters which were found to be vulnerable.VulnerableParametersOrBuilder
getVulnerableParametersOrBuilder()
An addon containing information about request parameters which were found to be vulnerable.Xss
getXss()
An addon containing information reported for an XSS, if any.Xss.Builder
getXssBuilder()
An addon containing information reported for an XSS, if any.XssOrBuilder
getXssOrBuilder()
An addon containing information reported for an XSS, if any.boolean
hasForm()
An addon containing information reported for a vulnerability with an HTML form, if any.boolean
hasOutdatedLibrary()
An addon containing information about outdated libraries.boolean
hasViolatingResource()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.boolean
hasVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.boolean
hasVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.boolean
hasXss()
An addon containing information reported for an XSS, if any.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Finding.Builder
mergeForm(Form value)
An addon containing information reported for a vulnerability with an HTML form, if any.Finding.Builder
mergeFrom(Finding other)
Finding.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Finding.Builder
mergeFrom(com.google.protobuf.Message other)
Finding.Builder
mergeOutdatedLibrary(OutdatedLibrary value)
An addon containing information about outdated libraries.Finding.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Finding.Builder
mergeViolatingResource(ViolatingResource value)
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.Finding.Builder
mergeVulnerableHeaders(VulnerableHeaders value)
An addon containing information about vulnerable or missing HTTP headers.Finding.Builder
mergeVulnerableParameters(VulnerableParameters value)
An addon containing information about request parameters which were found to be vulnerable.Finding.Builder
mergeXss(Xss value)
An addon containing information reported for an XSS, if any.Finding.Builder
setBody(String value)
The body of the request that triggered the vulnerability.Finding.Builder
setBodyBytes(com.google.protobuf.ByteString value)
The body of the request that triggered the vulnerability.Finding.Builder
setDescription(String value)
The description of the vulnerability.Finding.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the vulnerability.Finding.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Finding.Builder
setFinalUrl(String value)
The URL where the browser lands when the vulnerability is detected.Finding.Builder
setFinalUrlBytes(com.google.protobuf.ByteString value)
The URL where the browser lands when the vulnerability is detected.Finding.Builder
setFindingType(String value)
The type of the Finding.Finding.Builder
setFindingTypeBytes(com.google.protobuf.ByteString value)
The type of the Finding.Finding.Builder
setForm(Form value)
An addon containing information reported for a vulnerability with an HTML form, if any.Finding.Builder
setForm(Form.Builder builderForValue)
An addon containing information reported for a vulnerability with an HTML form, if any.Finding.Builder
setFrameUrl(String value)
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.Finding.Builder
setFrameUrlBytes(com.google.protobuf.ByteString value)
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.Finding.Builder
setFuzzedUrl(String value)
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.Finding.Builder
setFuzzedUrlBytes(com.google.protobuf.ByteString value)
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.Finding.Builder
setHttpMethod(String value)
The http method of the request that triggered the vulnerability, in uppercase.Finding.Builder
setHttpMethodBytes(com.google.protobuf.ByteString value)
The http method of the request that triggered the vulnerability, in uppercase.Finding.Builder
setName(String value)
The resource name of the Finding.Finding.Builder
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the Finding.Finding.Builder
setOutdatedLibrary(OutdatedLibrary value)
An addon containing information about outdated libraries.Finding.Builder
setOutdatedLibrary(OutdatedLibrary.Builder builderForValue)
An addon containing information about outdated libraries.Finding.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Finding.Builder
setReproductionUrl(String value)
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.Finding.Builder
setReproductionUrlBytes(com.google.protobuf.ByteString value)
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.Finding.Builder
setTrackingId(String value)
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.Finding.Builder
setTrackingIdBytes(com.google.protobuf.ByteString value)
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.Finding.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Finding.Builder
setViolatingResource(ViolatingResource value)
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.Finding.Builder
setViolatingResource(ViolatingResource.Builder builderForValue)
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.Finding.Builder
setVulnerableHeaders(VulnerableHeaders value)
An addon containing information about vulnerable or missing HTTP headers.Finding.Builder
setVulnerableHeaders(VulnerableHeaders.Builder builderForValue)
An addon containing information about vulnerable or missing HTTP headers.Finding.Builder
setVulnerableParameters(VulnerableParameters value)
An addon containing information about request parameters which were found to be vulnerable.Finding.Builder
setVulnerableParameters(VulnerableParameters.Builder builderForValue)
An addon containing information about request parameters which were found to be vulnerable.Finding.Builder
setXss(Xss value)
An addon containing information reported for an XSS, if any.Finding.Builder
setXss(Xss.Builder builderForValue)
An addon containing information reported for an XSS, if any.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clear
public Finding.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
getDefaultInstanceForType
public Finding getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Finding build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Finding buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Finding.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
setField
public Finding.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clearField
public Finding.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
clearOneof
public Finding.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
setRepeatedField
public Finding.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
addRepeatedField
public Finding.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
mergeFrom
public Finding.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Finding.Builder>
-
mergeFrom
public Finding.Builder mergeFrom(Finding other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
mergeFrom
public Finding.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Finding.Builder>
- Throws:
IOException
-
getName
public String getName()
The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
string name = 1;
- Specified by:
getName
in interfaceFindingOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
string name = 1;
- Specified by:
getNameBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for name.
-
setName
public Finding.Builder setName(String value)
The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Finding.Builder clearName()
The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
public Finding.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the Finding. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanruns/{scanRunId}/findings/{findingId}'. The finding IDs are generated by the system.
string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getFindingType
public String getFindingType()
The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-scanner/docs/scan-result-details
string finding_type = 2;
- Specified by:
getFindingType
in interfaceFindingOrBuilder
- Returns:
- The findingType.
-
getFindingTypeBytes
public com.google.protobuf.ByteString getFindingTypeBytes()
The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-scanner/docs/scan-result-details
string finding_type = 2;
- Specified by:
getFindingTypeBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for findingType.
-
setFindingType
public Finding.Builder setFindingType(String value)
The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-scanner/docs/scan-result-details
string finding_type = 2;
- Parameters:
value
- The findingType to set.- Returns:
- This builder for chaining.
-
clearFindingType
public Finding.Builder clearFindingType()
The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-scanner/docs/scan-result-details
string finding_type = 2;
- Returns:
- This builder for chaining.
-
setFindingTypeBytes
public Finding.Builder setFindingTypeBytes(com.google.protobuf.ByteString value)
The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-scanner/docs/scan-result-details
string finding_type = 2;
- Parameters:
value
- The bytes for findingType to set.- Returns:
- This builder for chaining.
-
getHttpMethod
public String getHttpMethod()
The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
- Specified by:
getHttpMethod
in interfaceFindingOrBuilder
- Returns:
- The httpMethod.
-
getHttpMethodBytes
public com.google.protobuf.ByteString getHttpMethodBytes()
The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
- Specified by:
getHttpMethodBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for httpMethod.
-
setHttpMethod
public Finding.Builder setHttpMethod(String value)
The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
- Parameters:
value
- The httpMethod to set.- Returns:
- This builder for chaining.
-
clearHttpMethod
public Finding.Builder clearHttpMethod()
The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
- Returns:
- This builder for chaining.
-
setHttpMethodBytes
public Finding.Builder setHttpMethodBytes(com.google.protobuf.ByteString value)
The http method of the request that triggered the vulnerability, in uppercase.
string http_method = 3;
- Parameters:
value
- The bytes for httpMethod to set.- Returns:
- This builder for chaining.
-
getFuzzedUrl
public String getFuzzedUrl()
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
- Specified by:
getFuzzedUrl
in interfaceFindingOrBuilder
- Returns:
- The fuzzedUrl.
-
getFuzzedUrlBytes
public com.google.protobuf.ByteString getFuzzedUrlBytes()
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
- Specified by:
getFuzzedUrlBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for fuzzedUrl.
-
setFuzzedUrl
public Finding.Builder setFuzzedUrl(String value)
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
- Parameters:
value
- The fuzzedUrl to set.- Returns:
- This builder for chaining.
-
clearFuzzedUrl
public Finding.Builder clearFuzzedUrl()
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
- Returns:
- This builder for chaining.
-
setFuzzedUrlBytes
public Finding.Builder setFuzzedUrlBytes(com.google.protobuf.ByteString value)
The URL produced by the server-side fuzzer and used in the request that triggered the vulnerability.
string fuzzed_url = 4;
- Parameters:
value
- The bytes for fuzzedUrl to set.- Returns:
- This builder for chaining.
-
getBody
public String getBody()
The body of the request that triggered the vulnerability.
string body = 5;
- Specified by:
getBody
in interfaceFindingOrBuilder
- Returns:
- The body.
-
getBodyBytes
public com.google.protobuf.ByteString getBodyBytes()
The body of the request that triggered the vulnerability.
string body = 5;
- Specified by:
getBodyBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for body.
-
setBody
public Finding.Builder setBody(String value)
The body of the request that triggered the vulnerability.
string body = 5;
- Parameters:
value
- The body to set.- Returns:
- This builder for chaining.
-
clearBody
public Finding.Builder clearBody()
The body of the request that triggered the vulnerability.
string body = 5;
- Returns:
- This builder for chaining.
-
setBodyBytes
public Finding.Builder setBodyBytes(com.google.protobuf.ByteString value)
The body of the request that triggered the vulnerability.
string body = 5;
- Parameters:
value
- The bytes for body to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
The description of the vulnerability.
string description = 6;
- Specified by:
getDescription
in interfaceFindingOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
The description of the vulnerability.
string description = 6;
- Specified by:
getDescriptionBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Finding.Builder setDescription(String value)
The description of the vulnerability.
string description = 6;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Finding.Builder clearDescription()
The description of the vulnerability.
string description = 6;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Finding.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
The description of the vulnerability.
string description = 6;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getReproductionUrl
public String getReproductionUrl()
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
- Specified by:
getReproductionUrl
in interfaceFindingOrBuilder
- Returns:
- The reproductionUrl.
-
getReproductionUrlBytes
public com.google.protobuf.ByteString getReproductionUrlBytes()
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
- Specified by:
getReproductionUrlBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for reproductionUrl.
-
setReproductionUrl
public Finding.Builder setReproductionUrl(String value)
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
- Parameters:
value
- The reproductionUrl to set.- Returns:
- This builder for chaining.
-
clearReproductionUrl
public Finding.Builder clearReproductionUrl()
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
- Returns:
- This builder for chaining.
-
setReproductionUrlBytes
public Finding.Builder setReproductionUrlBytes(com.google.protobuf.ByteString value)
The URL containing human-readable payload that user can leverage to reproduce the vulnerability.
string reproduction_url = 7;
- Parameters:
value
- The bytes for reproductionUrl to set.- Returns:
- This builder for chaining.
-
getFrameUrl
public String getFrameUrl()
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
- Specified by:
getFrameUrl
in interfaceFindingOrBuilder
- Returns:
- The frameUrl.
-
getFrameUrlBytes
public com.google.protobuf.ByteString getFrameUrlBytes()
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
- Specified by:
getFrameUrlBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for frameUrl.
-
setFrameUrl
public Finding.Builder setFrameUrl(String value)
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
- Parameters:
value
- The frameUrl to set.- Returns:
- This builder for chaining.
-
clearFrameUrl
public Finding.Builder clearFrameUrl()
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
- Returns:
- This builder for chaining.
-
setFrameUrlBytes
public Finding.Builder setFrameUrlBytes(com.google.protobuf.ByteString value)
If the vulnerability was originated from nested IFrame, the immediate parent IFrame is reported.
string frame_url = 8;
- Parameters:
value
- The bytes for frameUrl to set.- Returns:
- This builder for chaining.
-
getFinalUrl
public String getFinalUrl()
The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
- Specified by:
getFinalUrl
in interfaceFindingOrBuilder
- Returns:
- The finalUrl.
-
getFinalUrlBytes
public com.google.protobuf.ByteString getFinalUrlBytes()
The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
- Specified by:
getFinalUrlBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for finalUrl.
-
setFinalUrl
public Finding.Builder setFinalUrl(String value)
The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
- Parameters:
value
- The finalUrl to set.- Returns:
- This builder for chaining.
-
clearFinalUrl
public Finding.Builder clearFinalUrl()
The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
- Returns:
- This builder for chaining.
-
setFinalUrlBytes
public Finding.Builder setFinalUrlBytes(com.google.protobuf.ByteString value)
The URL where the browser lands when the vulnerability is detected.
string final_url = 9;
- Parameters:
value
- The bytes for finalUrl to set.- Returns:
- This builder for chaining.
-
getTrackingId
public String getTrackingId()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
- Specified by:
getTrackingId
in interfaceFindingOrBuilder
- Returns:
- The trackingId.
-
getTrackingIdBytes
public com.google.protobuf.ByteString getTrackingIdBytes()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
- Specified by:
getTrackingIdBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for trackingId.
-
setTrackingId
public Finding.Builder setTrackingId(String value)
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
- Parameters:
value
- The trackingId to set.- Returns:
- This builder for chaining.
-
clearTrackingId
public Finding.Builder clearTrackingId()
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
- Returns:
- This builder for chaining.
-
setTrackingIdBytes
public Finding.Builder setTrackingIdBytes(com.google.protobuf.ByteString value)
The tracking ID uniquely identifies a vulnerability instance across multiple ScanRuns.
string tracking_id = 10;
- Parameters:
value
- The bytes for trackingId to set.- Returns:
- This builder for chaining.
-
hasForm
public boolean hasForm()
An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;
- Specified by:
hasForm
in interfaceFindingOrBuilder
- Returns:
- Whether the form field is set.
-
getForm
public Form getForm()
An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;
- Specified by:
getForm
in interfaceFindingOrBuilder
- Returns:
- The form.
-
setForm
public Finding.Builder setForm(Form value)
An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;
-
setForm
public Finding.Builder setForm(Form.Builder builderForValue)
An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;
-
mergeForm
public Finding.Builder mergeForm(Form value)
An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;
-
clearForm
public Finding.Builder clearForm()
An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;
-
getFormBuilder
public Form.Builder getFormBuilder()
An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;
-
getFormOrBuilder
public FormOrBuilder getFormOrBuilder()
An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1beta.Form form = 16;
- Specified by:
getFormOrBuilder
in interfaceFindingOrBuilder
-
hasOutdatedLibrary
public boolean hasOutdatedLibrary()
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
- Specified by:
hasOutdatedLibrary
in interfaceFindingOrBuilder
- Returns:
- Whether the outdatedLibrary field is set.
-
getOutdatedLibrary
public OutdatedLibrary getOutdatedLibrary()
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
- Specified by:
getOutdatedLibrary
in interfaceFindingOrBuilder
- Returns:
- The outdatedLibrary.
-
setOutdatedLibrary
public Finding.Builder setOutdatedLibrary(OutdatedLibrary value)
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
-
setOutdatedLibrary
public Finding.Builder setOutdatedLibrary(OutdatedLibrary.Builder builderForValue)
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
-
mergeOutdatedLibrary
public Finding.Builder mergeOutdatedLibrary(OutdatedLibrary value)
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
-
clearOutdatedLibrary
public Finding.Builder clearOutdatedLibrary()
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
-
getOutdatedLibraryBuilder
public OutdatedLibrary.Builder getOutdatedLibraryBuilder()
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
-
getOutdatedLibraryOrBuilder
public OutdatedLibraryOrBuilder getOutdatedLibraryOrBuilder()
An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1beta.OutdatedLibrary outdated_library = 11;
- Specified by:
getOutdatedLibraryOrBuilder
in interfaceFindingOrBuilder
-
hasViolatingResource
public boolean hasViolatingResource()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1beta.ViolatingResource violating_resource = 12;
- Specified by:
hasViolatingResource
in interfaceFindingOrBuilder
- Returns:
- Whether the violatingResource field is set.
-
getViolatingResource
public ViolatingResource getViolatingResource()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1beta.ViolatingResource violating_resource = 12;
- Specified by:
getViolatingResource
in interfaceFindingOrBuilder
- Returns:
- The violatingResource.
-
setViolatingResource
public Finding.Builder setViolatingResource(ViolatingResource value)
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1beta.ViolatingResource violating_resource = 12;
-
setViolatingResource
public Finding.Builder setViolatingResource(ViolatingResource.Builder builderForValue)
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1beta.ViolatingResource violating_resource = 12;
-
mergeViolatingResource
public Finding.Builder mergeViolatingResource(ViolatingResource value)
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1beta.ViolatingResource violating_resource = 12;
-
clearViolatingResource
public Finding.Builder clearViolatingResource()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1beta.ViolatingResource violating_resource = 12;
-
getViolatingResourceBuilder
public ViolatingResource.Builder getViolatingResourceBuilder()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1beta.ViolatingResource violating_resource = 12;
-
getViolatingResourceOrBuilder
public ViolatingResourceOrBuilder getViolatingResourceOrBuilder()
An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1beta.ViolatingResource violating_resource = 12;
- Specified by:
getViolatingResourceOrBuilder
in interfaceFindingOrBuilder
-
hasVulnerableHeaders
public boolean hasVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
- Specified by:
hasVulnerableHeaders
in interfaceFindingOrBuilder
- Returns:
- Whether the vulnerableHeaders field is set.
-
getVulnerableHeaders
public VulnerableHeaders getVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
- Specified by:
getVulnerableHeaders
in interfaceFindingOrBuilder
- Returns:
- The vulnerableHeaders.
-
setVulnerableHeaders
public Finding.Builder setVulnerableHeaders(VulnerableHeaders value)
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
-
setVulnerableHeaders
public Finding.Builder setVulnerableHeaders(VulnerableHeaders.Builder builderForValue)
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
-
mergeVulnerableHeaders
public Finding.Builder mergeVulnerableHeaders(VulnerableHeaders value)
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
-
clearVulnerableHeaders
public Finding.Builder clearVulnerableHeaders()
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
-
getVulnerableHeadersBuilder
public VulnerableHeaders.Builder getVulnerableHeadersBuilder()
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
-
getVulnerableHeadersOrBuilder
public VulnerableHeadersOrBuilder getVulnerableHeadersOrBuilder()
An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1beta.VulnerableHeaders vulnerable_headers = 15;
- Specified by:
getVulnerableHeadersOrBuilder
in interfaceFindingOrBuilder
-
hasVulnerableParameters
public boolean hasVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
- Specified by:
hasVulnerableParameters
in interfaceFindingOrBuilder
- Returns:
- Whether the vulnerableParameters field is set.
-
getVulnerableParameters
public VulnerableParameters getVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
- Specified by:
getVulnerableParameters
in interfaceFindingOrBuilder
- Returns:
- The vulnerableParameters.
-
setVulnerableParameters
public Finding.Builder setVulnerableParameters(VulnerableParameters value)
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
-
setVulnerableParameters
public Finding.Builder setVulnerableParameters(VulnerableParameters.Builder builderForValue)
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
-
mergeVulnerableParameters
public Finding.Builder mergeVulnerableParameters(VulnerableParameters value)
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
-
clearVulnerableParameters
public Finding.Builder clearVulnerableParameters()
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
-
getVulnerableParametersBuilder
public VulnerableParameters.Builder getVulnerableParametersBuilder()
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
-
getVulnerableParametersOrBuilder
public VulnerableParametersOrBuilder getVulnerableParametersOrBuilder()
An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1beta.VulnerableParameters vulnerable_parameters = 13;
- Specified by:
getVulnerableParametersOrBuilder
in interfaceFindingOrBuilder
-
hasXss
public boolean hasXss()
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;
- Specified by:
hasXss
in interfaceFindingOrBuilder
- Returns:
- Whether the xss field is set.
-
getXss
public Xss getXss()
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;
- Specified by:
getXss
in interfaceFindingOrBuilder
- Returns:
- The xss.
-
setXss
public Finding.Builder setXss(Xss value)
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;
-
setXss
public Finding.Builder setXss(Xss.Builder builderForValue)
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;
-
mergeXss
public Finding.Builder mergeXss(Xss value)
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;
-
clearXss
public Finding.Builder clearXss()
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;
-
getXssBuilder
public Xss.Builder getXssBuilder()
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;
-
getXssOrBuilder
public XssOrBuilder getXssOrBuilder()
An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1beta.Xss xss = 14;
- Specified by:
getXssOrBuilder
in interfaceFindingOrBuilder
-
setUnknownFields
public final Finding.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
mergeUnknownFields
public final Finding.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
-
-