Class StoredInfoTypeConfig

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

@Generated public final class StoredInfoTypeConfig extends com.google.protobuf.GeneratedMessage implements StoredInfoTypeConfigOrBuilder
 Configuration for stored infoTypes. All fields and subfield are provided
 by the user. For more information, see
 https://cloud.google.com/sensitive-data-protection/docs/creating-custom-infotypes.
 
Protobuf type google.privacy.dlp.v2.StoredInfoTypeConfig
See Also:
  • Field Details

    • DISPLAY_NAME_FIELD_NUMBER

      public static final int DISPLAY_NAME_FIELD_NUMBER
      See Also:
    • DESCRIPTION_FIELD_NUMBER

      public static final int DESCRIPTION_FIELD_NUMBER
      See Also:
    • LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER

      public static final int LARGE_CUSTOM_DICTIONARY_FIELD_NUMBER
      See Also:
    • DICTIONARY_FIELD_NUMBER

      public static final int DICTIONARY_FIELD_NUMBER
      See Also:
    • REGEX_FIELD_NUMBER

      public static final int REGEX_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
    • getTypeCase

      public StoredInfoTypeConfig.TypeCase getTypeCase()
      Specified by:
      getTypeCase in interface StoredInfoTypeConfigOrBuilder
    • getDisplayName

      public String getDisplayName()
       Display name of the StoredInfoType (max 256 characters).
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface StoredInfoTypeConfigOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Display name of the StoredInfoType (max 256 characters).
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface StoredInfoTypeConfigOrBuilder
      Returns:
      The bytes for displayName.
    • getDescription

      public String getDescription()
       Description of the StoredInfoType (max 256 characters).
       
      string description = 2;
      Specified by:
      getDescription in interface StoredInfoTypeConfigOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description of the StoredInfoType (max 256 characters).
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface StoredInfoTypeConfigOrBuilder
      Returns:
      The bytes for description.
    • hasLargeCustomDictionary

      public boolean hasLargeCustomDictionary()
       StoredInfoType where findings are defined by a dictionary of phrases.
       
      .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
      Specified by:
      hasLargeCustomDictionary in interface StoredInfoTypeConfigOrBuilder
      Returns:
      Whether the largeCustomDictionary field is set.
    • getLargeCustomDictionary

      public LargeCustomDictionaryConfig getLargeCustomDictionary()
       StoredInfoType where findings are defined by a dictionary of phrases.
       
      .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
      Specified by:
      getLargeCustomDictionary in interface StoredInfoTypeConfigOrBuilder
      Returns:
      The largeCustomDictionary.
    • getLargeCustomDictionaryOrBuilder

      public LargeCustomDictionaryConfigOrBuilder getLargeCustomDictionaryOrBuilder()
       StoredInfoType where findings are defined by a dictionary of phrases.
       
      .google.privacy.dlp.v2.LargeCustomDictionaryConfig large_custom_dictionary = 3;
      Specified by:
      getLargeCustomDictionaryOrBuilder in interface StoredInfoTypeConfigOrBuilder
    • hasDictionary

      public boolean hasDictionary()
       Store dictionary-based CustomInfoType.
       
      .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
      Specified by:
      hasDictionary in interface StoredInfoTypeConfigOrBuilder
      Returns:
      Whether the dictionary field is set.
    • getDictionary

      public CustomInfoType.Dictionary getDictionary()
       Store dictionary-based CustomInfoType.
       
      .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
      Specified by:
      getDictionary in interface StoredInfoTypeConfigOrBuilder
      Returns:
      The dictionary.
    • getDictionaryOrBuilder

      public CustomInfoType.DictionaryOrBuilder getDictionaryOrBuilder()
       Store dictionary-based CustomInfoType.
       
      .google.privacy.dlp.v2.CustomInfoType.Dictionary dictionary = 4;
      Specified by:
      getDictionaryOrBuilder in interface StoredInfoTypeConfigOrBuilder
    • hasRegex

      public boolean hasRegex()
       Store regular expression-based StoredInfoType.
       
      .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
      Specified by:
      hasRegex in interface StoredInfoTypeConfigOrBuilder
      Returns:
      Whether the regex field is set.
    • getRegex

      public CustomInfoType.Regex getRegex()
       Store regular expression-based StoredInfoType.
       
      .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
      Specified by:
      getRegex in interface StoredInfoTypeConfigOrBuilder
      Returns:
      The regex.
    • getRegexOrBuilder

      public CustomInfoType.RegexOrBuilder getRegexOrBuilder()
       Store regular expression-based StoredInfoType.
       
      .google.privacy.dlp.v2.CustomInfoType.Regex regex = 5;
      Specified by:
      getRegexOrBuilder in interface StoredInfoTypeConfigOrBuilder
    • 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 StoredInfoTypeConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static StoredInfoTypeConfig.Builder newBuilder()
    • newBuilder

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

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

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

      public static StoredInfoTypeConfig getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<StoredInfoTypeConfig> 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 StoredInfoTypeConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder