Class Finding.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
com.google.privacy.dlp.v2.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.GeneratedMessage.Builder<Finding.Builder> implements FindingOrBuilder
 Represents a piece of potentially sensitive content.
 
Protobuf type google.privacy.dlp.v2.Finding
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<Finding.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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>
    • mergeFrom

      public Finding.Builder mergeFrom(Finding other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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()
       Resource name in format
       projects/{project}/locations/{location}/findings/{finding} Populated only
       when viewing persisted findings.
       
      string name = 14;
      Specified by:
      getName in interface FindingOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Resource name in format
       projects/{project}/locations/{location}/findings/{finding} Populated only
       when viewing persisted findings.
       
      string name = 14;
      Specified by:
      getNameBytes in interface FindingOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Finding.Builder setName(String value)
       Resource name in format
       projects/{project}/locations/{location}/findings/{finding} Populated only
       when viewing persisted findings.
       
      string name = 14;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Finding.Builder clearName()
       Resource name in format
       projects/{project}/locations/{location}/findings/{finding} Populated only
       when viewing persisted findings.
       
      string name = 14;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Finding.Builder setNameBytes(com.google.protobuf.ByteString value)
       Resource name in format
       projects/{project}/locations/{location}/findings/{finding} Populated only
       when viewing persisted findings.
       
      string name = 14;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getQuote

      public String getQuote()
       The content that was found. Even if the content is not textual, it
       may be converted to a textual representation here.
       Provided if `include_quote` is true and the finding is
       less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
       in length, the quote may be omitted.
       
      string quote = 1;
      Specified by:
      getQuote in interface FindingOrBuilder
      Returns:
      The quote.
    • getQuoteBytes

      public com.google.protobuf.ByteString getQuoteBytes()
       The content that was found. Even if the content is not textual, it
       may be converted to a textual representation here.
       Provided if `include_quote` is true and the finding is
       less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
       in length, the quote may be omitted.
       
      string quote = 1;
      Specified by:
      getQuoteBytes in interface FindingOrBuilder
      Returns:
      The bytes for quote.
    • setQuote

      public Finding.Builder setQuote(String value)
       The content that was found. Even if the content is not textual, it
       may be converted to a textual representation here.
       Provided if `include_quote` is true and the finding is
       less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
       in length, the quote may be omitted.
       
      string quote = 1;
      Parameters:
      value - The quote to set.
      Returns:
      This builder for chaining.
    • clearQuote

      public Finding.Builder clearQuote()
       The content that was found. Even if the content is not textual, it
       may be converted to a textual representation here.
       Provided if `include_quote` is true and the finding is
       less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
       in length, the quote may be omitted.
       
      string quote = 1;
      Returns:
      This builder for chaining.
    • setQuoteBytes

      public Finding.Builder setQuoteBytes(com.google.protobuf.ByteString value)
       The content that was found. Even if the content is not textual, it
       may be converted to a textual representation here.
       Provided if `include_quote` is true and the finding is
       less than or equal to 4096 bytes long. If the finding exceeds 4096 bytes
       in length, the quote may be omitted.
       
      string quote = 1;
      Parameters:
      value - The bytes for quote to set.
      Returns:
      This builder for chaining.
    • hasInfoType

      public boolean hasInfoType()
       The type of content that might have been found.
       Provided if `excluded_types` is false.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
      Specified by:
      hasInfoType in interface FindingOrBuilder
      Returns:
      Whether the infoType field is set.
    • getInfoType

      public InfoType getInfoType()
       The type of content that might have been found.
       Provided if `excluded_types` is false.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
      Specified by:
      getInfoType in interface FindingOrBuilder
      Returns:
      The infoType.
    • setInfoType

      public Finding.Builder setInfoType(InfoType value)
       The type of content that might have been found.
       Provided if `excluded_types` is false.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
    • setInfoType

      public Finding.Builder setInfoType(InfoType.Builder builderForValue)
       The type of content that might have been found.
       Provided if `excluded_types` is false.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
    • mergeInfoType

      public Finding.Builder mergeInfoType(InfoType value)
       The type of content that might have been found.
       Provided if `excluded_types` is false.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
    • clearInfoType

      public Finding.Builder clearInfoType()
       The type of content that might have been found.
       Provided if `excluded_types` is false.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
    • getInfoTypeBuilder

      public InfoType.Builder getInfoTypeBuilder()
       The type of content that might have been found.
       Provided if `excluded_types` is false.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
    • getInfoTypeOrBuilder

      public InfoTypeOrBuilder getInfoTypeOrBuilder()
       The type of content that might have been found.
       Provided if `excluded_types` is false.
       
      .google.privacy.dlp.v2.InfoType info_type = 2;
      Specified by:
      getInfoTypeOrBuilder in interface FindingOrBuilder
    • getLikelihoodValue

      public int getLikelihoodValue()
       Confidence of how likely it is that the `info_type` is correct.
       
      .google.privacy.dlp.v2.Likelihood likelihood = 3;
      Specified by:
      getLikelihoodValue in interface FindingOrBuilder
      Returns:
      The enum numeric value on the wire for likelihood.
    • setLikelihoodValue

      public Finding.Builder setLikelihoodValue(int value)
       Confidence of how likely it is that the `info_type` is correct.
       
      .google.privacy.dlp.v2.Likelihood likelihood = 3;
      Parameters:
      value - The enum numeric value on the wire for likelihood to set.
      Returns:
      This builder for chaining.
    • getLikelihood

      public Likelihood getLikelihood()
       Confidence of how likely it is that the `info_type` is correct.
       
      .google.privacy.dlp.v2.Likelihood likelihood = 3;
      Specified by:
      getLikelihood in interface FindingOrBuilder
      Returns:
      The likelihood.
    • setLikelihood

      public Finding.Builder setLikelihood(Likelihood value)
       Confidence of how likely it is that the `info_type` is correct.
       
      .google.privacy.dlp.v2.Likelihood likelihood = 3;
      Parameters:
      value - The likelihood to set.
      Returns:
      This builder for chaining.
    • clearLikelihood

      public Finding.Builder clearLikelihood()
       Confidence of how likely it is that the `info_type` is correct.
       
      .google.privacy.dlp.v2.Likelihood likelihood = 3;
      Returns:
      This builder for chaining.
    • hasLocation

      public boolean hasLocation()
       Where the content was found.
       
      .google.privacy.dlp.v2.Location location = 4;
      Specified by:
      hasLocation in interface FindingOrBuilder
      Returns:
      Whether the location field is set.
    • getLocation

      public Location getLocation()
       Where the content was found.
       
      .google.privacy.dlp.v2.Location location = 4;
      Specified by:
      getLocation in interface FindingOrBuilder
      Returns:
      The location.
    • setLocation

      public Finding.Builder setLocation(Location value)
       Where the content was found.
       
      .google.privacy.dlp.v2.Location location = 4;
    • setLocation

      public Finding.Builder setLocation(Location.Builder builderForValue)
       Where the content was found.
       
      .google.privacy.dlp.v2.Location location = 4;
    • mergeLocation

      public Finding.Builder mergeLocation(Location value)
       Where the content was found.
       
      .google.privacy.dlp.v2.Location location = 4;
    • clearLocation

      public Finding.Builder clearLocation()
       Where the content was found.
       
      .google.privacy.dlp.v2.Location location = 4;
    • getLocationBuilder

      public Location.Builder getLocationBuilder()
       Where the content was found.
       
      .google.privacy.dlp.v2.Location location = 4;
    • getLocationOrBuilder

      public LocationOrBuilder getLocationOrBuilder()
       Where the content was found.
       
      .google.privacy.dlp.v2.Location location = 4;
      Specified by:
      getLocationOrBuilder in interface FindingOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Timestamp when finding was detected.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      hasCreateTime in interface FindingOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Timestamp when finding was detected.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      getCreateTime in interface FindingOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Finding.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Timestamp when finding was detected.
       
      .google.protobuf.Timestamp create_time = 6;
    • setCreateTime

      public Finding.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp when finding was detected.
       
      .google.protobuf.Timestamp create_time = 6;
    • mergeCreateTime

      public Finding.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Timestamp when finding was detected.
       
      .google.protobuf.Timestamp create_time = 6;
    • clearCreateTime

      public Finding.Builder clearCreateTime()
       Timestamp when finding was detected.
       
      .google.protobuf.Timestamp create_time = 6;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Timestamp when finding was detected.
       
      .google.protobuf.Timestamp create_time = 6;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Timestamp when finding was detected.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      getCreateTimeOrBuilder in interface FindingOrBuilder
    • hasQuoteInfo

      public boolean hasQuoteInfo()
       Contains data parsed from quotes. Only populated if include_quote was set
       to true and a supported infoType was requested. Currently supported
       infoTypes: DATE, DATE_OF_BIRTH and TIME.
       
      .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
      Specified by:
      hasQuoteInfo in interface FindingOrBuilder
      Returns:
      Whether the quoteInfo field is set.
    • getQuoteInfo

      public QuoteInfo getQuoteInfo()
       Contains data parsed from quotes. Only populated if include_quote was set
       to true and a supported infoType was requested. Currently supported
       infoTypes: DATE, DATE_OF_BIRTH and TIME.
       
      .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
      Specified by:
      getQuoteInfo in interface FindingOrBuilder
      Returns:
      The quoteInfo.
    • setQuoteInfo

      public Finding.Builder setQuoteInfo(QuoteInfo value)
       Contains data parsed from quotes. Only populated if include_quote was set
       to true and a supported infoType was requested. Currently supported
       infoTypes: DATE, DATE_OF_BIRTH and TIME.
       
      .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
    • setQuoteInfo

      public Finding.Builder setQuoteInfo(QuoteInfo.Builder builderForValue)
       Contains data parsed from quotes. Only populated if include_quote was set
       to true and a supported infoType was requested. Currently supported
       infoTypes: DATE, DATE_OF_BIRTH and TIME.
       
      .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
    • mergeQuoteInfo

      public Finding.Builder mergeQuoteInfo(QuoteInfo value)
       Contains data parsed from quotes. Only populated if include_quote was set
       to true and a supported infoType was requested. Currently supported
       infoTypes: DATE, DATE_OF_BIRTH and TIME.
       
      .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
    • clearQuoteInfo

      public Finding.Builder clearQuoteInfo()
       Contains data parsed from quotes. Only populated if include_quote was set
       to true and a supported infoType was requested. Currently supported
       infoTypes: DATE, DATE_OF_BIRTH and TIME.
       
      .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
    • getQuoteInfoBuilder

      public QuoteInfo.Builder getQuoteInfoBuilder()
       Contains data parsed from quotes. Only populated if include_quote was set
       to true and a supported infoType was requested. Currently supported
       infoTypes: DATE, DATE_OF_BIRTH and TIME.
       
      .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
    • getQuoteInfoOrBuilder

      public QuoteInfoOrBuilder getQuoteInfoOrBuilder()
       Contains data parsed from quotes. Only populated if include_quote was set
       to true and a supported infoType was requested. Currently supported
       infoTypes: DATE, DATE_OF_BIRTH and TIME.
       
      .google.privacy.dlp.v2.QuoteInfo quote_info = 7;
      Specified by:
      getQuoteInfoOrBuilder in interface FindingOrBuilder
    • getResourceName

      public String getResourceName()
       The job that stored the finding.
       
      string resource_name = 8 [(.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface FindingOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       The job that stored the finding.
       
      string resource_name = 8 [(.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface FindingOrBuilder
      Returns:
      The bytes for resourceName.
    • setResourceName

      public Finding.Builder setResourceName(String value)
       The job that stored the finding.
       
      string resource_name = 8 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The resourceName to set.
      Returns:
      This builder for chaining.
    • clearResourceName

      public Finding.Builder clearResourceName()
       The job that stored the finding.
       
      string resource_name = 8 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setResourceNameBytes

      public Finding.Builder setResourceNameBytes(com.google.protobuf.ByteString value)
       The job that stored the finding.
       
      string resource_name = 8 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for resourceName to set.
      Returns:
      This builder for chaining.
    • getTriggerName

      public String getTriggerName()
       Job trigger name, if applicable, for this finding.
       
      string trigger_name = 9 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTriggerName in interface FindingOrBuilder
      Returns:
      The triggerName.
    • getTriggerNameBytes

      public com.google.protobuf.ByteString getTriggerNameBytes()
       Job trigger name, if applicable, for this finding.
       
      string trigger_name = 9 [(.google.api.resource_reference) = { ... }
      Specified by:
      getTriggerNameBytes in interface FindingOrBuilder
      Returns:
      The bytes for triggerName.
    • setTriggerName

      public Finding.Builder setTriggerName(String value)
       Job trigger name, if applicable, for this finding.
       
      string trigger_name = 9 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The triggerName to set.
      Returns:
      This builder for chaining.
    • clearTriggerName

      public Finding.Builder clearTriggerName()
       Job trigger name, if applicable, for this finding.
       
      string trigger_name = 9 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setTriggerNameBytes

      public Finding.Builder setTriggerNameBytes(com.google.protobuf.ByteString value)
       Job trigger name, if applicable, for this finding.
       
      string trigger_name = 9 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for triggerName to set.
      Returns:
      This builder for chaining.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: FindingOrBuilder
       The labels associated with this `Finding`.
      
       Label keys must be between 1 and 63 characters long and must conform
       to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      
       Label values must be between 0 and 63 characters long and must conform
       to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      
       No more than 10 labels can be associated with a given finding.
      
       Examples:
      
       * `"environment" : "production"`
       * `"pipeline" : "etl"`
       
      map<string, string> labels = 10;
      Specified by:
      getLabelsCount in interface FindingOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       The labels associated with this `Finding`.
      
       Label keys must be between 1 and 63 characters long and must conform
       to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      
       Label values must be between 0 and 63 characters long and must conform
       to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      
       No more than 10 labels can be associated with a given finding.
      
       Examples:
      
       * `"environment" : "production"`
       * `"pipeline" : "etl"`
       
      map<string, string> labels = 10;
      Specified by:
      containsLabels in interface FindingOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface FindingOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       The labels associated with this `Finding`.
      
       Label keys must be between 1 and 63 characters long and must conform
       to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      
       Label values must be between 0 and 63 characters long and must conform
       to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      
       No more than 10 labels can be associated with a given finding.
      
       Examples:
      
       * `"environment" : "production"`
       * `"pipeline" : "etl"`
       
      map<string, string> labels = 10;
      Specified by:
      getLabelsMap in interface FindingOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       The labels associated with this `Finding`.
      
       Label keys must be between 1 and 63 characters long and must conform
       to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      
       Label values must be between 0 and 63 characters long and must conform
       to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      
       No more than 10 labels can be associated with a given finding.
      
       Examples:
      
       * `"environment" : "production"`
       * `"pipeline" : "etl"`
       
      map<string, string> labels = 10;
      Specified by:
      getLabelsOrDefault in interface FindingOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       The labels associated with this `Finding`.
      
       Label keys must be between 1 and 63 characters long and must conform
       to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      
       Label values must be between 0 and 63 characters long and must conform
       to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      
       No more than 10 labels can be associated with a given finding.
      
       Examples:
      
       * `"environment" : "production"`
       * `"pipeline" : "etl"`
       
      map<string, string> labels = 10;
      Specified by:
      getLabelsOrThrow in interface FindingOrBuilder
    • clearLabels

      public Finding.Builder clearLabels()
    • removeLabels

      public Finding.Builder removeLabels(String key)
       The labels associated with this `Finding`.
      
       Label keys must be between 1 and 63 characters long and must conform
       to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      
       Label values must be between 0 and 63 characters long and must conform
       to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      
       No more than 10 labels can be associated with a given finding.
      
       Examples:
      
       * `"environment" : "production"`
       * `"pipeline" : "etl"`
       
      map<string, string> labels = 10;
    • getMutableLabels

      @Deprecated public Map<String,String> getMutableLabels()
      Deprecated.
      Use alternate mutation accessors instead.
    • putLabels

      public Finding.Builder putLabels(String key, String value)
       The labels associated with this `Finding`.
      
       Label keys must be between 1 and 63 characters long and must conform
       to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      
       Label values must be between 0 and 63 characters long and must conform
       to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      
       No more than 10 labels can be associated with a given finding.
      
       Examples:
      
       * `"environment" : "production"`
       * `"pipeline" : "etl"`
       
      map<string, string> labels = 10;
    • putAllLabels

      public Finding.Builder putAllLabels(Map<String,String> values)
       The labels associated with this `Finding`.
      
       Label keys must be between 1 and 63 characters long and must conform
       to the following regular expression: `[a-z]([-a-z0-9]*[a-z0-9])?`.
      
       Label values must be between 0 and 63 characters long and must conform
       to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`.
      
       No more than 10 labels can be associated with a given finding.
      
       Examples:
      
       * `"environment" : "production"`
       * `"pipeline" : "etl"`
       
      map<string, string> labels = 10;
    • hasJobCreateTime

      public boolean hasJobCreateTime()
       Time the job started that produced this finding.
       
      .google.protobuf.Timestamp job_create_time = 11;
      Specified by:
      hasJobCreateTime in interface FindingOrBuilder
      Returns:
      Whether the jobCreateTime field is set.
    • getJobCreateTime

      public com.google.protobuf.Timestamp getJobCreateTime()
       Time the job started that produced this finding.
       
      .google.protobuf.Timestamp job_create_time = 11;
      Specified by:
      getJobCreateTime in interface FindingOrBuilder
      Returns:
      The jobCreateTime.
    • setJobCreateTime

      public Finding.Builder setJobCreateTime(com.google.protobuf.Timestamp value)
       Time the job started that produced this finding.
       
      .google.protobuf.Timestamp job_create_time = 11;
    • setJobCreateTime

      public Finding.Builder setJobCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time the job started that produced this finding.
       
      .google.protobuf.Timestamp job_create_time = 11;
    • mergeJobCreateTime

      public Finding.Builder mergeJobCreateTime(com.google.protobuf.Timestamp value)
       Time the job started that produced this finding.
       
      .google.protobuf.Timestamp job_create_time = 11;
    • clearJobCreateTime

      public Finding.Builder clearJobCreateTime()
       Time the job started that produced this finding.
       
      .google.protobuf.Timestamp job_create_time = 11;
    • getJobCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getJobCreateTimeBuilder()
       Time the job started that produced this finding.
       
      .google.protobuf.Timestamp job_create_time = 11;
    • getJobCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getJobCreateTimeOrBuilder()
       Time the job started that produced this finding.
       
      .google.protobuf.Timestamp job_create_time = 11;
      Specified by:
      getJobCreateTimeOrBuilder in interface FindingOrBuilder
    • getJobName

      public String getJobName()
       The job that stored the finding.
       
      string job_name = 13 [(.google.api.resource_reference) = { ... }
      Specified by:
      getJobName in interface FindingOrBuilder
      Returns:
      The jobName.
    • getJobNameBytes

      public com.google.protobuf.ByteString getJobNameBytes()
       The job that stored the finding.
       
      string job_name = 13 [(.google.api.resource_reference) = { ... }
      Specified by:
      getJobNameBytes in interface FindingOrBuilder
      Returns:
      The bytes for jobName.
    • setJobName

      public Finding.Builder setJobName(String value)
       The job that stored the finding.
       
      string job_name = 13 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The jobName to set.
      Returns:
      This builder for chaining.
    • clearJobName

      public Finding.Builder clearJobName()
       The job that stored the finding.
       
      string job_name = 13 [(.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setJobNameBytes

      public Finding.Builder setJobNameBytes(com.google.protobuf.ByteString value)
       The job that stored the finding.
       
      string job_name = 13 [(.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for jobName to set.
      Returns:
      This builder for chaining.
    • getFindingId

      public String getFindingId()
       The unique finding id.
       
      string finding_id = 15;
      Specified by:
      getFindingId in interface FindingOrBuilder
      Returns:
      The findingId.
    • getFindingIdBytes

      public com.google.protobuf.ByteString getFindingIdBytes()
       The unique finding id.
       
      string finding_id = 15;
      Specified by:
      getFindingIdBytes in interface FindingOrBuilder
      Returns:
      The bytes for findingId.
    • setFindingId

      public Finding.Builder setFindingId(String value)
       The unique finding id.
       
      string finding_id = 15;
      Parameters:
      value - The findingId to set.
      Returns:
      This builder for chaining.
    • clearFindingId

      public Finding.Builder clearFindingId()
       The unique finding id.
       
      string finding_id = 15;
      Returns:
      This builder for chaining.
    • setFindingIdBytes

      public Finding.Builder setFindingIdBytes(com.google.protobuf.ByteString value)
       The unique finding id.
       
      string finding_id = 15;
      Parameters:
      value - The bytes for findingId to set.
      Returns:
      This builder for chaining.