Class InfoTypeDescription

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.InfoTypeDescription
All Implemented Interfaces:
InfoTypeDescriptionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class InfoTypeDescription extends com.google.protobuf.GeneratedMessage implements InfoTypeDescriptionOrBuilder
 InfoType description.
 
Protobuf type google.privacy.dlp.v2.InfoTypeDescription
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • SUPPORTED_BY_FIELD_NUMBER

      public static final int SUPPORTED_BY_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • LOCATION_SUPPORT_FIELD_NUMBER

      public static final int LOCATION_SUPPORT_FIELD_NUMBER
      See Also:
    • EXAMPLE_FIELD_NUMBER

      public static final int EXAMPLE_FIELD_NUMBER
      See Also:
    • VERSIONS_FIELD_NUMBER

      public static final int VERSIONS_FIELD_NUMBER
      See Also:
    • CATEGORIES_FIELD_NUMBER

      public static final int CATEGORIES_FIELD_NUMBER
      See Also:
    • SENSITIVITY_SCORE_FIELD_NUMBER

      public static final int SENSITIVITY_SCORE_FIELD_NUMBER
      See Also:
    • SPECIFIC_INFO_TYPES_FIELD_NUMBER

      public static final int SPECIFIC_INFO_TYPES_FIELD_NUMBER
      See Also:
    • LAUNCH_STATUS_FIELD_NUMBER

      public static final int LAUNCH_STATUS_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • getCategoriesList

      public List<InfoTypeCategory> getCategoriesList()
       The category of the infoType.
       
      repeated .google.privacy.dlp.v2.InfoTypeCategory categories = 10;
      Specified by:
      getCategoriesList 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
    • 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
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static InfoTypeDescription parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InfoTypeDescription parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InfoTypeDescription parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InfoTypeDescription parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InfoTypeDescription parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InfoTypeDescription parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InfoTypeDescription parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InfoTypeDescription parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InfoTypeDescription parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InfoTypeDescription parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InfoTypeDescription parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InfoTypeDescription parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static InfoTypeDescription.Builder newBuilder()
    • newBuilder

      public static InfoTypeDescription.Builder newBuilder(InfoTypeDescription prototype)
    • toBuilder

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

      protected InfoTypeDescription.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static InfoTypeDescription getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InfoTypeDescription> parser()
    • getParserForType

      public com.google.protobuf.Parser<InfoTypeDescription> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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