Class Finding
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.websecurityscanner.v1.Finding
-
- All Implemented Interfaces:
FindingOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Finding extends com.google.protobuf.GeneratedMessageV3 implements FindingOrBuilder
A Finding resource represents a vulnerability instance identified during a ScanRun.
Protobuf typegoogle.cloud.websecurityscanner.v1.Finding
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Finding.Builder
A Finding resource represents a vulnerability instance identified during a ScanRun.static class
Finding.Severity
The severity level of a vulnerability.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
BODY_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
FINAL_URL_FIELD_NUMBER
static int
FINDING_TYPE_FIELD_NUMBER
static int
FORM_FIELD_NUMBER
static int
FRAME_URL_FIELD_NUMBER
static int
FUZZED_URL_FIELD_NUMBER
static int
HTTP_METHOD_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
OUTDATED_LIBRARY_FIELD_NUMBER
static int
REPRODUCTION_URL_FIELD_NUMBER
static int
SEVERITY_FIELD_NUMBER
static int
TRACKING_ID_FIELD_NUMBER
static int
VIOLATING_RESOURCE_FIELD_NUMBER
static int
VULNERABLE_HEADERS_FIELD_NUMBER
static int
VULNERABLE_PARAMETERS_FIELD_NUMBER
static int
XSS_FIELD_NUMBER
static int
XXE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getBody()
Output only.com.google.protobuf.ByteString
getBodyBytes()
Output only.static Finding
getDefaultInstance()
Finding
getDefaultInstanceForType()
String
getDescription()
Output only.com.google.protobuf.ByteString
getDescriptionBytes()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFinalUrl()
Output only.com.google.protobuf.ByteString
getFinalUrlBytes()
Output only.String
getFindingType()
Output only.com.google.protobuf.ByteString
getFindingTypeBytes()
Output only.Form
getForm()
Output only.FormOrBuilder
getFormOrBuilder()
Output only.String
getFrameUrl()
Output only.com.google.protobuf.ByteString
getFrameUrlBytes()
Output only.String
getFuzzedUrl()
Output only.com.google.protobuf.ByteString
getFuzzedUrlBytes()
Output only.String
getHttpMethod()
Output only.com.google.protobuf.ByteString
getHttpMethodBytes()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.OutdatedLibrary
getOutdatedLibrary()
Output only.OutdatedLibraryOrBuilder
getOutdatedLibraryOrBuilder()
Output only.com.google.protobuf.Parser<Finding>
getParserForType()
String
getReproductionUrl()
Output only.com.google.protobuf.ByteString
getReproductionUrlBytes()
Output only.int
getSerializedSize()
Finding.Severity
getSeverity()
Output only.int
getSeverityValue()
Output only.String
getTrackingId()
Output only.com.google.protobuf.ByteString
getTrackingIdBytes()
Output only.ViolatingResource
getViolatingResource()
Output only.ViolatingResourceOrBuilder
getViolatingResourceOrBuilder()
Output only.VulnerableHeaders
getVulnerableHeaders()
Output only.VulnerableHeadersOrBuilder
getVulnerableHeadersOrBuilder()
Output only.VulnerableParameters
getVulnerableParameters()
Output only.VulnerableParametersOrBuilder
getVulnerableParametersOrBuilder()
Output only.Xss
getXss()
Output only.XssOrBuilder
getXssOrBuilder()
Output only.Xxe
getXxe()
Output only.XxeOrBuilder
getXxeOrBuilder()
Output only.boolean
hasForm()
Output only.int
hashCode()
boolean
hasOutdatedLibrary()
Output only.boolean
hasViolatingResource()
Output only.boolean
hasVulnerableHeaders()
Output only.boolean
hasVulnerableParameters()
Output only.boolean
hasXss()
Output only.boolean
hasXxe()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Finding.Builder
newBuilder()
static Finding.Builder
newBuilder(Finding prototype)
Finding.Builder
newBuilderForType()
protected Finding.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Finding
parseDelimitedFrom(InputStream input)
static Finding
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Finding
parseFrom(byte[] data)
static Finding
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Finding
parseFrom(com.google.protobuf.ByteString data)
static Finding
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Finding
parseFrom(com.google.protobuf.CodedInputStream input)
static Finding
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Finding
parseFrom(InputStream input)
static Finding
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Finding
parseFrom(ByteBuffer data)
static Finding
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Finding>
parser()
Finding.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINDING_TYPE_FIELD_NUMBER
public static final int FINDING_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HTTP_METHOD_FIELD_NUMBER
public static final int HTTP_METHOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FUZZED_URL_FIELD_NUMBER
public static final int FUZZED_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BODY_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REPRODUCTION_URL_FIELD_NUMBER
public static final int REPRODUCTION_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FRAME_URL_FIELD_NUMBER
public static final int FRAME_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FINAL_URL_FIELD_NUMBER
public static final int FINAL_URL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRACKING_ID_FIELD_NUMBER
public static final int TRACKING_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FORM_FIELD_NUMBER
public static final int FORM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTDATED_LIBRARY_FIELD_NUMBER
public static final int OUTDATED_LIBRARY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VIOLATING_RESOURCE_FIELD_NUMBER
public static final int VIOLATING_RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VULNERABLE_HEADERS_FIELD_NUMBER
public static final int VULNERABLE_HEADERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VULNERABLE_PARAMETERS_FIELD_NUMBER
public static final int VULNERABLE_PARAMETERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
XSS_FIELD_NUMBER
public static final int XSS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
XXE_FIELD_NUMBER
public static final int XXE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getName
public String getName()
Output only. 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()
Output only. 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.
-
getFindingType
public String getFindingType()
Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings
string finding_type = 2;
- Specified by:
getFindingType
in interfaceFindingOrBuilder
- Returns:
- The findingType.
-
getFindingTypeBytes
public com.google.protobuf.ByteString getFindingTypeBytes()
Output only. The type of the Finding. Detailed and up-to-date information on findings can be found here: https://cloud.google.com/security-command-center/docs/how-to-remediate-web-security-scanner-findings
string finding_type = 2;
- Specified by:
getFindingTypeBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for findingType.
-
getSeverityValue
public int getSeverityValue()
Output only. The severity level of the reported vulnerability.
.google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSeverityValue
in interfaceFindingOrBuilder
- Returns:
- The enum numeric value on the wire for severity.
-
getSeverity
public Finding.Severity getSeverity()
Output only. The severity level of the reported vulnerability.
.google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSeverity
in interfaceFindingOrBuilder
- Returns:
- The severity.
-
getHttpMethod
public String getHttpMethod()
Output only. 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()
Output only. 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.
-
getFuzzedUrl
public String getFuzzedUrl()
Output only. 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()
Output only. 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.
-
getBody
public String getBody()
Output only. 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()
Output only. The body of the request that triggered the vulnerability.
string body = 5;
- Specified by:
getBodyBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for body.
-
getDescription
public String getDescription()
Output only. The description of the vulnerability.
string description = 6;
- Specified by:
getDescription
in interfaceFindingOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Output only. The description of the vulnerability.
string description = 6;
- Specified by:
getDescriptionBytes
in interfaceFindingOrBuilder
- Returns:
- The bytes for description.
-
getReproductionUrl
public String getReproductionUrl()
Output only. 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()
Output only. 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.
-
getFrameUrl
public String getFrameUrl()
Output only. 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()
Output only. 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.
-
getFinalUrl
public String getFinalUrl()
Output only. 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()
Output only. 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.
-
getTrackingId
public String getTrackingId()
Output only. 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()
Output only. 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.
-
hasForm
public boolean hasForm()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
- Specified by:
hasForm
in interfaceFindingOrBuilder
- Returns:
- Whether the form field is set.
-
getForm
public Form getForm()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
- Specified by:
getForm
in interfaceFindingOrBuilder
- Returns:
- The form.
-
getFormOrBuilder
public FormOrBuilder getFormOrBuilder()
Output only. An addon containing information reported for a vulnerability with an HTML form, if any.
.google.cloud.websecurityscanner.v1.Form form = 16;
- Specified by:
getFormOrBuilder
in interfaceFindingOrBuilder
-
hasOutdatedLibrary
public boolean hasOutdatedLibrary()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
- Specified by:
hasOutdatedLibrary
in interfaceFindingOrBuilder
- Returns:
- Whether the outdatedLibrary field is set.
-
getOutdatedLibrary
public OutdatedLibrary getOutdatedLibrary()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
- Specified by:
getOutdatedLibrary
in interfaceFindingOrBuilder
- Returns:
- The outdatedLibrary.
-
getOutdatedLibraryOrBuilder
public OutdatedLibraryOrBuilder getOutdatedLibraryOrBuilder()
Output only. An addon containing information about outdated libraries.
.google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
- Specified by:
getOutdatedLibraryOrBuilder
in interfaceFindingOrBuilder
-
hasViolatingResource
public boolean hasViolatingResource()
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1.ViolatingResource violating_resource = 12;
- Specified by:
hasViolatingResource
in interfaceFindingOrBuilder
- Returns:
- Whether the violatingResource field is set.
-
getViolatingResource
public ViolatingResource getViolatingResource()
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1.ViolatingResource violating_resource = 12;
- Specified by:
getViolatingResource
in interfaceFindingOrBuilder
- Returns:
- The violatingResource.
-
getViolatingResourceOrBuilder
public ViolatingResourceOrBuilder getViolatingResourceOrBuilder()
Output only. An addon containing detailed information regarding any resource causing the vulnerability such as JavaScript sources, image, audio files, etc.
.google.cloud.websecurityscanner.v1.ViolatingResource violating_resource = 12;
- Specified by:
getViolatingResourceOrBuilder
in interfaceFindingOrBuilder
-
hasVulnerableHeaders
public boolean hasVulnerableHeaders()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
- Specified by:
hasVulnerableHeaders
in interfaceFindingOrBuilder
- Returns:
- Whether the vulnerableHeaders field is set.
-
getVulnerableHeaders
public VulnerableHeaders getVulnerableHeaders()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
- Specified by:
getVulnerableHeaders
in interfaceFindingOrBuilder
- Returns:
- The vulnerableHeaders.
-
getVulnerableHeadersOrBuilder
public VulnerableHeadersOrBuilder getVulnerableHeadersOrBuilder()
Output only. An addon containing information about vulnerable or missing HTTP headers.
.google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
- Specified by:
getVulnerableHeadersOrBuilder
in interfaceFindingOrBuilder
-
hasVulnerableParameters
public boolean hasVulnerableParameters()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
- Specified by:
hasVulnerableParameters
in interfaceFindingOrBuilder
- Returns:
- Whether the vulnerableParameters field is set.
-
getVulnerableParameters
public VulnerableParameters getVulnerableParameters()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
- Specified by:
getVulnerableParameters
in interfaceFindingOrBuilder
- Returns:
- The vulnerableParameters.
-
getVulnerableParametersOrBuilder
public VulnerableParametersOrBuilder getVulnerableParametersOrBuilder()
Output only. An addon containing information about request parameters which were found to be vulnerable.
.google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
- Specified by:
getVulnerableParametersOrBuilder
in interfaceFindingOrBuilder
-
hasXss
public boolean hasXss()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
- Specified by:
hasXss
in interfaceFindingOrBuilder
- Returns:
- Whether the xss field is set.
-
getXss
public Xss getXss()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
- Specified by:
getXss
in interfaceFindingOrBuilder
- Returns:
- The xss.
-
getXssOrBuilder
public XssOrBuilder getXssOrBuilder()
Output only. An addon containing information reported for an XSS, if any.
.google.cloud.websecurityscanner.v1.Xss xss = 14;
- Specified by:
getXssOrBuilder
in interfaceFindingOrBuilder
-
hasXxe
public boolean hasXxe()
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasXxe
in interfaceFindingOrBuilder
- Returns:
- Whether the xxe field is set.
-
getXxe
public Xxe getXxe()
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getXxe
in interfaceFindingOrBuilder
- Returns:
- The xxe.
-
getXxeOrBuilder
public XxeOrBuilder getXxeOrBuilder()
Output only. An addon containing information reported for an XXE, if any.
.google.cloud.websecurityscanner.v1.Xxe xxe = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getXxeOrBuilder
in interfaceFindingOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Finding parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Finding parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Finding parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Finding parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Finding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Finding parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Finding parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Finding parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Finding parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Finding parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Finding parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Finding parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Finding.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Finding.Builder newBuilder()
-
newBuilder
public static Finding.Builder newBuilder(Finding prototype)
-
toBuilder
public Finding.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Finding.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Finding getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Finding> parser()
-
getParserForType
public com.google.protobuf.Parser<Finding> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Finding getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-