Class InfoTypeDescription.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InfoTypeDescription.Builder>
com.google.privacy.dlp.v2.InfoTypeDescription.Builder
All Implemented Interfaces:
InfoTypeDescriptionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
InfoTypeDescription

public static final class InfoTypeDescription.Builder extends com.google.protobuf.GeneratedMessage.Builder<InfoTypeDescription.Builder> implements InfoTypeDescriptionOrBuilder
 InfoType description.
 
Protobuf type google.privacy.dlp.v2.InfoTypeDescription
  • Method Details

    • getDescriptor

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

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

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

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

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

      public InfoTypeDescription.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<InfoTypeDescription.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<InfoTypeDescription.Builder>
    • mergeFrom

      public InfoTypeDescription.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<InfoTypeDescription.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Internal name of the infoType.
       
      string name = 1;
      Specified by:
      getName in interface InfoTypeDescriptionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Internal name of the infoType.
       
      string name = 1;
      Specified by:
      getNameBytes in interface InfoTypeDescriptionOrBuilder
      Returns:
      The bytes for name.
    • setName

      public InfoTypeDescription.Builder setName(String value)
       Internal name of the infoType.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public InfoTypeDescription.Builder clearName()
       Internal name of the infoType.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public InfoTypeDescription.Builder setNameBytes(com.google.protobuf.ByteString value)
       Internal name of the infoType.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getDisplayName

      public String getDisplayName()
       Human readable form of the infoType name.
       
      string display_name = 2;
      Specified by:
      getDisplayName in interface InfoTypeDescriptionOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Human readable form of the infoType name.
       
      string display_name = 2;
      Specified by:
      getDisplayNameBytes in interface InfoTypeDescriptionOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public InfoTypeDescription.Builder setDisplayName(String value)
       Human readable form of the infoType name.
       
      string display_name = 2;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public InfoTypeDescription.Builder clearDisplayName()
       Human readable form of the infoType name.
       
      string display_name = 2;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public InfoTypeDescription.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Human readable form of the infoType name.
       
      string display_name = 2;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getSupportedByList

      public List<InfoTypeSupportedBy> getSupportedByList()
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Specified by:
      getSupportedByList in interface InfoTypeDescriptionOrBuilder
      Returns:
      A list containing the supportedBy.
    • getSupportedByCount

      public int getSupportedByCount()
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Specified by:
      getSupportedByCount in interface InfoTypeDescriptionOrBuilder
      Returns:
      The count of supportedBy.
    • getSupportedBy

      public InfoTypeSupportedBy getSupportedBy(int index)
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Specified by:
      getSupportedBy in interface InfoTypeDescriptionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The supportedBy at the given index.
    • setSupportedBy

      public InfoTypeDescription.Builder setSupportedBy(int index, InfoTypeSupportedBy value)
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Parameters:
      index - The index to set the value at.
      value - The supportedBy to set.
      Returns:
      This builder for chaining.
    • addSupportedBy

      public InfoTypeDescription.Builder addSupportedBy(InfoTypeSupportedBy value)
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Parameters:
      value - The supportedBy to add.
      Returns:
      This builder for chaining.
    • addAllSupportedBy

      public InfoTypeDescription.Builder addAllSupportedBy(Iterable<? extends InfoTypeSupportedBy> values)
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Parameters:
      values - The supportedBy to add.
      Returns:
      This builder for chaining.
    • clearSupportedBy

      public InfoTypeDescription.Builder clearSupportedBy()
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Returns:
      This builder for chaining.
    • getSupportedByValueList

      public List<Integer> getSupportedByValueList()
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Specified by:
      getSupportedByValueList in interface InfoTypeDescriptionOrBuilder
      Returns:
      A list containing the enum numeric values on the wire for supportedBy.
    • getSupportedByValue

      public int getSupportedByValue(int index)
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Specified by:
      getSupportedByValue in interface InfoTypeDescriptionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of supportedBy at the given index.
    • setSupportedByValue

      public InfoTypeDescription.Builder setSupportedByValue(int index, int value)
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Parameters:
      index - The index to set the value at.
      value - The enum numeric value on the wire for supportedBy to set.
      Returns:
      This builder for chaining.
    • addSupportedByValue

      public InfoTypeDescription.Builder addSupportedByValue(int value)
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Parameters:
      value - The enum numeric value on the wire for supportedBy to add.
      Returns:
      This builder for chaining.
    • addAllSupportedByValue

      public InfoTypeDescription.Builder addAllSupportedByValue(Iterable<Integer> values)
       Which parts of the API supports this InfoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeSupportedBy supported_by = 3;
      Parameters:
      values - The enum numeric values on the wire for supportedBy to add.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Description of the infotype. Translated when language is provided in the
       request.
       
      string description = 4;
      Specified by:
      getDescription in interface InfoTypeDescriptionOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description of the infotype. Translated when language is provided in the
       request.
       
      string description = 4;
      Specified by:
      getDescriptionBytes in interface InfoTypeDescriptionOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public InfoTypeDescription.Builder setDescription(String value)
       Description of the infotype. Translated when language is provided in the
       request.
       
      string description = 4;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public InfoTypeDescription.Builder clearDescription()
       Description of the infotype. Translated when language is provided in the
       request.
       
      string description = 4;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public InfoTypeDescription.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Description of the infotype. Translated when language is provided in the
       request.
       
      string description = 4;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasLocationSupport

      public boolean hasLocationSupport()
       Locations at which this feature can be used. May change over time.
       
      .google.privacy.dlp.v2.LocationSupport location_support = 6;
      Specified by:
      hasLocationSupport in interface InfoTypeDescriptionOrBuilder
      Returns:
      Whether the locationSupport field is set.
    • getLocationSupport

      public LocationSupport getLocationSupport()
       Locations at which this feature can be used. May change over time.
       
      .google.privacy.dlp.v2.LocationSupport location_support = 6;
      Specified by:
      getLocationSupport in interface InfoTypeDescriptionOrBuilder
      Returns:
      The locationSupport.
    • setLocationSupport

      public InfoTypeDescription.Builder setLocationSupport(LocationSupport value)
       Locations at which this feature can be used. May change over time.
       
      .google.privacy.dlp.v2.LocationSupport location_support = 6;
    • setLocationSupport

      public InfoTypeDescription.Builder setLocationSupport(LocationSupport.Builder builderForValue)
       Locations at which this feature can be used. May change over time.
       
      .google.privacy.dlp.v2.LocationSupport location_support = 6;
    • mergeLocationSupport

      public InfoTypeDescription.Builder mergeLocationSupport(LocationSupport value)
       Locations at which this feature can be used. May change over time.
       
      .google.privacy.dlp.v2.LocationSupport location_support = 6;
    • clearLocationSupport

      public InfoTypeDescription.Builder clearLocationSupport()
       Locations at which this feature can be used. May change over time.
       
      .google.privacy.dlp.v2.LocationSupport location_support = 6;
    • getLocationSupportBuilder

      public LocationSupport.Builder getLocationSupportBuilder()
       Locations at which this feature can be used. May change over time.
       
      .google.privacy.dlp.v2.LocationSupport location_support = 6;
    • getLocationSupportOrBuilder

      public LocationSupportOrBuilder getLocationSupportOrBuilder()
       Locations at which this feature can be used. May change over time.
       
      .google.privacy.dlp.v2.LocationSupport location_support = 6;
      Specified by:
      getLocationSupportOrBuilder in interface InfoTypeDescriptionOrBuilder
    • getExample

      public String getExample()
       A sample that is a true positive for this infoType.
       
      string example = 8;
      Specified by:
      getExample in interface InfoTypeDescriptionOrBuilder
      Returns:
      The example.
    • getExampleBytes

      public com.google.protobuf.ByteString getExampleBytes()
       A sample that is a true positive for this infoType.
       
      string example = 8;
      Specified by:
      getExampleBytes in interface InfoTypeDescriptionOrBuilder
      Returns:
      The bytes for example.
    • setExample

      public InfoTypeDescription.Builder setExample(String value)
       A sample that is a true positive for this infoType.
       
      string example = 8;
      Parameters:
      value - The example to set.
      Returns:
      This builder for chaining.
    • clearExample

      public InfoTypeDescription.Builder clearExample()
       A sample that is a true positive for this infoType.
       
      string example = 8;
      Returns:
      This builder for chaining.
    • setExampleBytes

      public InfoTypeDescription.Builder setExampleBytes(com.google.protobuf.ByteString value)
       A sample that is a true positive for this infoType.
       
      string example = 8;
      Parameters:
      value - The bytes for example to set.
      Returns:
      This builder for chaining.
    • getVersionsList

      public List<VersionDescription> getVersionsList()
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
      Specified by:
      getVersionsList in interface InfoTypeDescriptionOrBuilder
    • getVersionsCount

      public int getVersionsCount()
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
      Specified by:
      getVersionsCount in interface InfoTypeDescriptionOrBuilder
    • getVersions

      public VersionDescription getVersions(int index)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
      Specified by:
      getVersions in interface InfoTypeDescriptionOrBuilder
    • setVersions

      public InfoTypeDescription.Builder setVersions(int index, VersionDescription value)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • setVersions

      public InfoTypeDescription.Builder setVersions(int index, VersionDescription.Builder builderForValue)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • addVersions

      public InfoTypeDescription.Builder addVersions(VersionDescription value)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • addVersions

      public InfoTypeDescription.Builder addVersions(int index, VersionDescription value)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • addVersions

      public InfoTypeDescription.Builder addVersions(VersionDescription.Builder builderForValue)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • addVersions

      public InfoTypeDescription.Builder addVersions(int index, VersionDescription.Builder builderForValue)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • addAllVersions

      public InfoTypeDescription.Builder addAllVersions(Iterable<? extends VersionDescription> values)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • clearVersions

      public InfoTypeDescription.Builder clearVersions()
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • removeVersions

      public InfoTypeDescription.Builder removeVersions(int index)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • getVersionsBuilder

      public VersionDescription.Builder getVersionsBuilder(int index)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • getVersionsOrBuilder

      public VersionDescriptionOrBuilder getVersionsOrBuilder(int index)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
      Specified by:
      getVersionsOrBuilder in interface InfoTypeDescriptionOrBuilder
    • getVersionsOrBuilderList

      public List<? extends VersionDescriptionOrBuilder> getVersionsOrBuilderList()
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
      Specified by:
      getVersionsOrBuilderList in interface InfoTypeDescriptionOrBuilder
    • addVersionsBuilder

      public VersionDescription.Builder addVersionsBuilder()
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • addVersionsBuilder

      public VersionDescription.Builder addVersionsBuilder(int index)
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • getVersionsBuilderList

      public List<VersionDescription.Builder> getVersionsBuilderList()
       A list of available versions for the infotype.
       
      repeated .google.privacy.dlp.v2.VersionDescription versions = 9;
    • getCategoriesList

      public List<InfoTypeCategory> getCategoriesList()
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
      Specified by:
      getCategoriesList in interface InfoTypeDescriptionOrBuilder
    • getCategoriesCount

      public int getCategoriesCount()
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
      Specified by:
      getCategoriesCount in interface InfoTypeDescriptionOrBuilder
    • getCategories

      public InfoTypeCategory getCategories(int index)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
      Specified by:
      getCategories in interface InfoTypeDescriptionOrBuilder
    • setCategories

      public InfoTypeDescription.Builder setCategories(int index, InfoTypeCategory value)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • setCategories

      public InfoTypeDescription.Builder setCategories(int index, InfoTypeCategory.Builder builderForValue)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • addCategories

      public InfoTypeDescription.Builder addCategories(InfoTypeCategory value)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • addCategories

      public InfoTypeDescription.Builder addCategories(int index, InfoTypeCategory value)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • addCategories

      public InfoTypeDescription.Builder addCategories(InfoTypeCategory.Builder builderForValue)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • addCategories

      public InfoTypeDescription.Builder addCategories(int index, InfoTypeCategory.Builder builderForValue)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • addAllCategories

      public InfoTypeDescription.Builder addAllCategories(Iterable<? extends InfoTypeCategory> values)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • clearCategories

      public InfoTypeDescription.Builder clearCategories()
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • removeCategories

      public InfoTypeDescription.Builder removeCategories(int index)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • getCategoriesBuilder

      public InfoTypeCategory.Builder getCategoriesBuilder(int index)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • getCategoriesOrBuilder

      public InfoTypeCategoryOrBuilder getCategoriesOrBuilder(int index)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
      Specified by:
      getCategoriesOrBuilder in interface InfoTypeDescriptionOrBuilder
    • getCategoriesOrBuilderList

      public List<? extends InfoTypeCategoryOrBuilder> getCategoriesOrBuilderList()
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
      Specified by:
      getCategoriesOrBuilderList in interface InfoTypeDescriptionOrBuilder
    • addCategoriesBuilder

      public InfoTypeCategory.Builder addCategoriesBuilder()
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • addCategoriesBuilder

      public InfoTypeCategory.Builder addCategoriesBuilder(int index)
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • getCategoriesBuilderList

      public List<InfoTypeCategory.Builder> getCategoriesBuilderList()
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
    • hasSensitivityScore

      public boolean hasSensitivityScore()
       The default sensitivity of the infoType.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
      Specified by:
      hasSensitivityScore in interface InfoTypeDescriptionOrBuilder
      Returns:
      Whether the sensitivityScore field is set.
    • getSensitivityScore

      public SensitivityScore getSensitivityScore()
       The default sensitivity of the infoType.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
      Specified by:
      getSensitivityScore in interface InfoTypeDescriptionOrBuilder
      Returns:
      The sensitivityScore.
    • setSensitivityScore

      public InfoTypeDescription.Builder setSensitivityScore(SensitivityScore value)
       The default sensitivity of the infoType.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
    • setSensitivityScore

      public InfoTypeDescription.Builder setSensitivityScore(SensitivityScore.Builder builderForValue)
       The default sensitivity of the infoType.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
    • mergeSensitivityScore

      public InfoTypeDescription.Builder mergeSensitivityScore(SensitivityScore value)
       The default sensitivity of the infoType.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
    • clearSensitivityScore

      public InfoTypeDescription.Builder clearSensitivityScore()
       The default sensitivity of the infoType.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
    • getSensitivityScoreBuilder

      public SensitivityScore.Builder getSensitivityScoreBuilder()
       The default sensitivity of the infoType.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
    • getSensitivityScoreOrBuilder

      public SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()
       The default sensitivity of the infoType.
       
      .google.privacy.dlp.v2.SensitivityScore sensitivity_score = 11;
      Specified by:
      getSensitivityScoreOrBuilder in interface InfoTypeDescriptionOrBuilder
    • getSpecificInfoTypesList

      public com.google.protobuf.ProtocolStringList getSpecificInfoTypesList()
       If this field is set, this infoType is a general infoType and these
       specific infoTypes are contained within it.
       General infoTypes are infoTypes that encompass multiple specific infoTypes.
       For example, the "GEOGRAPHIC_DATA" general infoType would have set for this
       field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
       
      repeated string specific_info_types = 12;
      Specified by:
      getSpecificInfoTypesList in interface InfoTypeDescriptionOrBuilder
      Returns:
      A list containing the specificInfoTypes.
    • getSpecificInfoTypesCount

      public int getSpecificInfoTypesCount()
       If this field is set, this infoType is a general infoType and these
       specific infoTypes are contained within it.
       General infoTypes are infoTypes that encompass multiple specific infoTypes.
       For example, the "GEOGRAPHIC_DATA" general infoType would have set for this
       field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
       
      repeated string specific_info_types = 12;
      Specified by:
      getSpecificInfoTypesCount in interface InfoTypeDescriptionOrBuilder
      Returns:
      The count of specificInfoTypes.
    • getSpecificInfoTypes

      public String getSpecificInfoTypes(int index)
       If this field is set, this infoType is a general infoType and these
       specific infoTypes are contained within it.
       General infoTypes are infoTypes that encompass multiple specific infoTypes.
       For example, the "GEOGRAPHIC_DATA" general infoType would have set for this
       field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
       
      repeated string specific_info_types = 12;
      Specified by:
      getSpecificInfoTypes in interface InfoTypeDescriptionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The specificInfoTypes at the given index.
    • getSpecificInfoTypesBytes

      public com.google.protobuf.ByteString getSpecificInfoTypesBytes(int index)
       If this field is set, this infoType is a general infoType and these
       specific infoTypes are contained within it.
       General infoTypes are infoTypes that encompass multiple specific infoTypes.
       For example, the "GEOGRAPHIC_DATA" general infoType would have set for this
       field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
       
      repeated string specific_info_types = 12;
      Specified by:
      getSpecificInfoTypesBytes in interface InfoTypeDescriptionOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the specificInfoTypes at the given index.
    • setSpecificInfoTypes

      public InfoTypeDescription.Builder setSpecificInfoTypes(int index, String value)
       If this field is set, this infoType is a general infoType and these
       specific infoTypes are contained within it.
       General infoTypes are infoTypes that encompass multiple specific infoTypes.
       For example, the "GEOGRAPHIC_DATA" general infoType would have set for this
       field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
       
      repeated string specific_info_types = 12;
      Parameters:
      index - The index to set the value at.
      value - The specificInfoTypes to set.
      Returns:
      This builder for chaining.
    • addSpecificInfoTypes

      public InfoTypeDescription.Builder addSpecificInfoTypes(String value)
       If this field is set, this infoType is a general infoType and these
       specific infoTypes are contained within it.
       General infoTypes are infoTypes that encompass multiple specific infoTypes.
       For example, the "GEOGRAPHIC_DATA" general infoType would have set for this
       field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
       
      repeated string specific_info_types = 12;
      Parameters:
      value - The specificInfoTypes to add.
      Returns:
      This builder for chaining.
    • addAllSpecificInfoTypes

      public InfoTypeDescription.Builder addAllSpecificInfoTypes(Iterable<String> values)
       If this field is set, this infoType is a general infoType and these
       specific infoTypes are contained within it.
       General infoTypes are infoTypes that encompass multiple specific infoTypes.
       For example, the "GEOGRAPHIC_DATA" general infoType would have set for this
       field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
       
      repeated string specific_info_types = 12;
      Parameters:
      values - The specificInfoTypes to add.
      Returns:
      This builder for chaining.
    • clearSpecificInfoTypes

      public InfoTypeDescription.Builder clearSpecificInfoTypes()
       If this field is set, this infoType is a general infoType and these
       specific infoTypes are contained within it.
       General infoTypes are infoTypes that encompass multiple specific infoTypes.
       For example, the "GEOGRAPHIC_DATA" general infoType would have set for this
       field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
       
      repeated string specific_info_types = 12;
      Returns:
      This builder for chaining.
    • addSpecificInfoTypesBytes

      public InfoTypeDescription.Builder addSpecificInfoTypesBytes(com.google.protobuf.ByteString value)
       If this field is set, this infoType is a general infoType and these
       specific infoTypes are contained within it.
       General infoTypes are infoTypes that encompass multiple specific infoTypes.
       For example, the "GEOGRAPHIC_DATA" general infoType would have set for this
       field "LOCATION", "LOCATION_COORDINATES", and "STREET_ADDRESS".
       
      repeated string specific_info_types = 12;
      Parameters:
      value - The bytes of the specificInfoTypes to add.
      Returns:
      This builder for chaining.
    • getLaunchStatusValue

      public int getLaunchStatusValue()
       The launch status of the infoType.
       
      .google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus launch_status = 13;
      Specified by:
      getLaunchStatusValue in interface InfoTypeDescriptionOrBuilder
      Returns:
      The enum numeric value on the wire for launchStatus.
    • setLaunchStatusValue

      public InfoTypeDescription.Builder setLaunchStatusValue(int value)
       The launch status of the infoType.
       
      .google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus launch_status = 13;
      Parameters:
      value - The enum numeric value on the wire for launchStatus to set.
      Returns:
      This builder for chaining.
    • getLaunchStatus

      public InfoTypeDescription.InfoTypeLaunchStatus getLaunchStatus()
       The launch status of the infoType.
       
      .google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus launch_status = 13;
      Specified by:
      getLaunchStatus in interface InfoTypeDescriptionOrBuilder
      Returns:
      The launchStatus.
    • setLaunchStatus

       The launch status of the infoType.
       
      .google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus launch_status = 13;
      Parameters:
      value - The launchStatus to set.
      Returns:
      This builder for chaining.
    • clearLaunchStatus

      public InfoTypeDescription.Builder clearLaunchStatus()
       The launch status of the infoType.
       
      .google.privacy.dlp.v2.InfoTypeDescription.InfoTypeLaunchStatus launch_status = 13;
      Returns:
      This builder for chaining.