Class FieldType.EnumType

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.datacatalog.v1.FieldType.EnumType
All Implemented Interfaces:
FieldType.EnumTypeOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
FieldType

public static final class FieldType.EnumType extends com.google.protobuf.GeneratedMessage implements FieldType.EnumTypeOrBuilder
Protobuf type google.cloud.datacatalog.v1.FieldType.EnumType
See Also:
  • Field Details

    • ALLOWED_VALUES_FIELD_NUMBER

      public static final int ALLOWED_VALUES_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
    • getAllowedValuesList

      public List<FieldType.EnumType.EnumValue> getAllowedValuesList()
       The set of allowed values for this enum.
      
       This set must not be empty and can include up to 100 allowed values.
       The display names of the values in this set must not be empty and must
       be case-insensitively unique within this set.
      
       The order of items in this set is preserved. This field can be used to
       create, remove, and reorder enum values. To rename enum values, use the
       `RenameTagTemplateFieldEnumValue` method.
       
      repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1;
      Specified by:
      getAllowedValuesList in interface FieldType.EnumTypeOrBuilder
    • getAllowedValuesOrBuilderList

      public List<? extends FieldType.EnumType.EnumValueOrBuilder> getAllowedValuesOrBuilderList()
       The set of allowed values for this enum.
      
       This set must not be empty and can include up to 100 allowed values.
       The display names of the values in this set must not be empty and must
       be case-insensitively unique within this set.
      
       The order of items in this set is preserved. This field can be used to
       create, remove, and reorder enum values. To rename enum values, use the
       `RenameTagTemplateFieldEnumValue` method.
       
      repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1;
      Specified by:
      getAllowedValuesOrBuilderList in interface FieldType.EnumTypeOrBuilder
    • getAllowedValuesCount

      public int getAllowedValuesCount()
       The set of allowed values for this enum.
      
       This set must not be empty and can include up to 100 allowed values.
       The display names of the values in this set must not be empty and must
       be case-insensitively unique within this set.
      
       The order of items in this set is preserved. This field can be used to
       create, remove, and reorder enum values. To rename enum values, use the
       `RenameTagTemplateFieldEnumValue` method.
       
      repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1;
      Specified by:
      getAllowedValuesCount in interface FieldType.EnumTypeOrBuilder
    • getAllowedValues

      public FieldType.EnumType.EnumValue getAllowedValues(int index)
       The set of allowed values for this enum.
      
       This set must not be empty and can include up to 100 allowed values.
       The display names of the values in this set must not be empty and must
       be case-insensitively unique within this set.
      
       The order of items in this set is preserved. This field can be used to
       create, remove, and reorder enum values. To rename enum values, use the
       `RenameTagTemplateFieldEnumValue` method.
       
      repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1;
      Specified by:
      getAllowedValues in interface FieldType.EnumTypeOrBuilder
    • getAllowedValuesOrBuilder

      public FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder(int index)
       The set of allowed values for this enum.
      
       This set must not be empty and can include up to 100 allowed values.
       The display names of the values in this set must not be empty and must
       be case-insensitively unique within this set.
      
       The order of items in this set is preserved. This field can be used to
       create, remove, and reorder enum values. To rename enum values, use the
       `RenameTagTemplateFieldEnumValue` method.
       
      repeated .google.cloud.datacatalog.v1.FieldType.EnumType.EnumValue allowed_values = 1;
      Specified by:
      getAllowedValuesOrBuilder in interface FieldType.EnumTypeOrBuilder
    • 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 FieldType.EnumType parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static FieldType.EnumType parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static FieldType.EnumType parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static FieldType.EnumType.Builder newBuilder()
    • newBuilder

      public static FieldType.EnumType.Builder newBuilder(FieldType.EnumType prototype)
    • toBuilder

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

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

      public static FieldType.EnumType getDefaultInstance()
    • parser

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

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