Class 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 type google.cloud.websecurityscanner.v1.Finding
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
      • clear

        public Finding.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
      • getDefaultInstanceForType

        public Finding getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Finding build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Finding buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Finding.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
      • setField

        public Finding.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                        Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
      • clearField

        public Finding.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
      • clearOneof

        public Finding.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
      • addRepeatedField

        public Finding.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
      • mergeFrom

        public Finding.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Finding.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Finding.Builder>
        Throws:
        IOException
      • 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 interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Finding.Builder setName​(String value)
         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;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Finding.Builder clearName()
         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;
        Returns:
        This builder for chaining.
      • setNameBytes

        public Finding.Builder setNameBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • 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 interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The bytes for findingType.
      • setFindingType

        public Finding.Builder setFindingType​(String value)
         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;
        Parameters:
        value - The findingType to set.
        Returns:
        This builder for chaining.
      • clearFindingType

        public Finding.Builder clearFindingType()
         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;
        Returns:
        This builder for chaining.
      • setFindingTypeBytes

        public Finding.Builder setFindingTypeBytes​(com.google.protobuf.ByteString value)
         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;
        Parameters:
        value - The bytes for findingType to set.
        Returns:
        This builder for chaining.
      • 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 interface FindingOrBuilder
        Returns:
        The enum numeric value on the wire for severity.
      • setSeverityValue

        public Finding.Builder setSeverityValue​(int value)
         Output only. The severity level of the reported vulnerability.
         
        .google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for severity to set.
        Returns:
        This builder for chaining.
      • 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 interface FindingOrBuilder
        Returns:
        The severity.
      • setSeverity

        public Finding.Builder setSeverity​(Finding.Severity value)
         Output only. The severity level of the reported vulnerability.
         
        .google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The severity to set.
        Returns:
        This builder for chaining.
      • clearSeverity

        public Finding.Builder clearSeverity()
         Output only. The severity level of the reported vulnerability.
         
        .google.cloud.websecurityscanner.v1.Finding.Severity severity = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • 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 interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The bytes for httpMethod.
      • setHttpMethod

        public Finding.Builder setHttpMethod​(String value)
         Output only. 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()
         Output only. 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)
         Output only. 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()
         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 interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The bytes for fuzzedUrl.
      • setFuzzedUrl

        public Finding.Builder setFuzzedUrl​(String value)
         Output only. 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()
         Output only. 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)
         Output only. 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()
         Output only. The body of the request that triggered the vulnerability.
         
        string body = 5;
        Specified by:
        getBody in interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The bytes for body.
      • setBody

        public Finding.Builder setBody​(String value)
         Output only. 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()
         Output only. 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)
         Output only. 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()
         Output only. The description of the vulnerability.
         
        string description = 6;
        Specified by:
        getDescription in interface FindingOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Output only. The description of the vulnerability.
         
        string description = 6;
        Specified by:
        getDescriptionBytes in interface FindingOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public Finding.Builder setDescription​(String value)
         Output only. The description of the vulnerability.
         
        string description = 6;
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public Finding.Builder clearDescription()
         Output only. The description of the vulnerability.
         
        string description = 6;
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public Finding.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Output only. 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()
         Output only. The URL containing human-readable payload that user can leverage to
         reproduce the vulnerability.
         
        string reproduction_url = 7;
        Specified by:
        getReproductionUrl in interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The bytes for reproductionUrl.
      • setReproductionUrl

        public Finding.Builder setReproductionUrl​(String value)
         Output only. 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()
         Output only. 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)
         Output only. 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()
         Output only. If the vulnerability was originated from nested IFrame, the immediate
         parent IFrame is reported.
         
        string frame_url = 8;
        Specified by:
        getFrameUrl in interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The bytes for frameUrl.
      • setFrameUrl

        public Finding.Builder setFrameUrl​(String value)
         Output only. 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()
         Output only. 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)
         Output only. 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()
         Output only. The URL where the browser lands when the vulnerability is detected.
         
        string final_url = 9;
        Specified by:
        getFinalUrl in interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The bytes for finalUrl.
      • setFinalUrl

        public Finding.Builder setFinalUrl​(String value)
         Output only. 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()
         Output only. 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)
         Output only. 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()
         Output only. The tracking ID uniquely identifies a vulnerability instance across
         multiple ScanRuns.
         
        string tracking_id = 10;
        Specified by:
        getTrackingId in interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The bytes for trackingId.
      • setTrackingId

        public Finding.Builder setTrackingId​(String value)
         Output only. 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()
         Output only. 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)
         Output only. 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()
         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 interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The form.
      • setForm

        public Finding.Builder setForm​(Form value)
         Output only. An addon containing information reported for a vulnerability with an HTML
         form, if any.
         
        .google.cloud.websecurityscanner.v1.Form form = 16;
      • setForm

        public Finding.Builder setForm​(Form.Builder builderForValue)
         Output only. An addon containing information reported for a vulnerability with an HTML
         form, if any.
         
        .google.cloud.websecurityscanner.v1.Form form = 16;
      • mergeForm

        public Finding.Builder mergeForm​(Form value)
         Output only. An addon containing information reported for a vulnerability with an HTML
         form, if any.
         
        .google.cloud.websecurityscanner.v1.Form form = 16;
      • clearForm

        public Finding.Builder clearForm()
         Output only. An addon containing information reported for a vulnerability with an HTML
         form, if any.
         
        .google.cloud.websecurityscanner.v1.Form form = 16;
      • getFormBuilder

        public Form.Builder getFormBuilder()
         Output only. An addon containing information reported for a vulnerability with an HTML
         form, if any.
         
        .google.cloud.websecurityscanner.v1.Form form = 16;
      • 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 interface FindingOrBuilder
      • 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 interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The outdatedLibrary.
      • setOutdatedLibrary

        public Finding.Builder setOutdatedLibrary​(OutdatedLibrary value)
         Output only. An addon containing information about outdated libraries.
         
        .google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
      • setOutdatedLibrary

        public Finding.Builder setOutdatedLibrary​(OutdatedLibrary.Builder builderForValue)
         Output only. An addon containing information about outdated libraries.
         
        .google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
      • mergeOutdatedLibrary

        public Finding.Builder mergeOutdatedLibrary​(OutdatedLibrary value)
         Output only. An addon containing information about outdated libraries.
         
        .google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
      • clearOutdatedLibrary

        public Finding.Builder clearOutdatedLibrary()
         Output only. An addon containing information about outdated libraries.
         
        .google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
      • getOutdatedLibraryBuilder

        public OutdatedLibrary.Builder getOutdatedLibraryBuilder()
         Output only. An addon containing information about outdated libraries.
         
        .google.cloud.websecurityscanner.v1.OutdatedLibrary outdated_library = 11;
      • 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 interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The violatingResource.
      • setViolatingResource

        public Finding.Builder setViolatingResource​(ViolatingResource value)
         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;
      • setViolatingResource

        public Finding.Builder setViolatingResource​(ViolatingResource.Builder builderForValue)
         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;
      • mergeViolatingResource

        public Finding.Builder mergeViolatingResource​(ViolatingResource value)
         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;
      • clearViolatingResource

        public Finding.Builder clearViolatingResource()
         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;
      • getViolatingResourceBuilder

        public ViolatingResource.Builder getViolatingResourceBuilder()
         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;
      • 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 interface FindingOrBuilder
      • 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 interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The vulnerableHeaders.
      • setVulnerableHeaders

        public Finding.Builder setVulnerableHeaders​(VulnerableHeaders value)
         Output only. An addon containing information about vulnerable or missing HTTP headers.
         
        .google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
      • setVulnerableHeaders

        public Finding.Builder setVulnerableHeaders​(VulnerableHeaders.Builder builderForValue)
         Output only. An addon containing information about vulnerable or missing HTTP headers.
         
        .google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
      • mergeVulnerableHeaders

        public Finding.Builder mergeVulnerableHeaders​(VulnerableHeaders value)
         Output only. An addon containing information about vulnerable or missing HTTP headers.
         
        .google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
      • clearVulnerableHeaders

        public Finding.Builder clearVulnerableHeaders()
         Output only. An addon containing information about vulnerable or missing HTTP headers.
         
        .google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
      • getVulnerableHeadersBuilder

        public VulnerableHeaders.Builder getVulnerableHeadersBuilder()
         Output only. An addon containing information about vulnerable or missing HTTP headers.
         
        .google.cloud.websecurityscanner.v1.VulnerableHeaders vulnerable_headers = 15;
      • 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 interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The vulnerableParameters.
      • setVulnerableParameters

        public Finding.Builder setVulnerableParameters​(VulnerableParameters value)
         Output only. An addon containing information about request parameters which were found
         to be vulnerable.
         
        .google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
      • setVulnerableParameters

        public Finding.Builder setVulnerableParameters​(VulnerableParameters.Builder builderForValue)
         Output only. An addon containing information about request parameters which were found
         to be vulnerable.
         
        .google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
      • mergeVulnerableParameters

        public Finding.Builder mergeVulnerableParameters​(VulnerableParameters value)
         Output only. An addon containing information about request parameters which were found
         to be vulnerable.
         
        .google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
      • clearVulnerableParameters

        public Finding.Builder clearVulnerableParameters()
         Output only. An addon containing information about request parameters which were found
         to be vulnerable.
         
        .google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
      • getVulnerableParametersBuilder

        public VulnerableParameters.Builder getVulnerableParametersBuilder()
         Output only. An addon containing information about request parameters which were found
         to be vulnerable.
         
        .google.cloud.websecurityscanner.v1.VulnerableParameters vulnerable_parameters = 13;
      • 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 interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The xss.
      • setXss

        public Finding.Builder setXss​(Xss value)
         Output only. An addon containing information reported for an XSS, if any.
         
        .google.cloud.websecurityscanner.v1.Xss xss = 14;
      • setXss

        public Finding.Builder setXss​(Xss.Builder builderForValue)
         Output only. An addon containing information reported for an XSS, if any.
         
        .google.cloud.websecurityscanner.v1.Xss xss = 14;
      • mergeXss

        public Finding.Builder mergeXss​(Xss value)
         Output only. An addon containing information reported for an XSS, if any.
         
        .google.cloud.websecurityscanner.v1.Xss xss = 14;
      • clearXss

        public Finding.Builder clearXss()
         Output only. An addon containing information reported for an XSS, if any.
         
        .google.cloud.websecurityscanner.v1.Xss xss = 14;
      • getXssBuilder

        public Xss.Builder getXssBuilder()
         Output only. An addon containing information reported for an XSS, if any.
         
        .google.cloud.websecurityscanner.v1.Xss xss = 14;
      • 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 interface FindingOrBuilder
      • 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 interface FindingOrBuilder
        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 interface FindingOrBuilder
        Returns:
        The xxe.
      • setXxe

        public Finding.Builder setXxe​(Xxe value)
         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];
      • setXxe

        public Finding.Builder setXxe​(Xxe.Builder builderForValue)
         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];
      • mergeXxe

        public Finding.Builder mergeXxe​(Xxe value)
         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];
      • clearXxe

        public Finding.Builder clearXxe()
         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];
      • getXxeBuilder

        public Xxe.Builder getXxeBuilder()
         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];
      • 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 interface FindingOrBuilder
      • setUnknownFields

        public final Finding.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>
      • mergeUnknownFields

        public final Finding.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Finding.Builder>