public static final class FieldType.EnumType extends GeneratedMessageV3 implements FieldType.EnumTypeOrBuilder
Protobuf type google.cloud.datacatalog.v1beta1.FieldType.EnumType
Static Fields
ALLOWED_VALUES_FIELD_NUMBER
public static final int ALLOWED_VALUES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static FieldType.EnumType getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FieldType.EnumType.Builder newBuilder()
newBuilder(FieldType.EnumType prototype)
public static FieldType.EnumType.Builder newBuilder(FieldType.EnumType prototype)
public static FieldType.EnumType parseDelimitedFrom(InputStream input)
public static FieldType.EnumType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FieldType.EnumType parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FieldType.EnumType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FieldType.EnumType parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FieldType.EnumType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FieldType.EnumType parseFrom(CodedInputStream input)
public static FieldType.EnumType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FieldType.EnumType parseFrom(InputStream input)
public static FieldType.EnumType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FieldType.EnumType parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FieldType.EnumType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FieldType.EnumType> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAllowedValues(int index)
public FieldType.EnumType.EnumValue getAllowedValues(int index)
Required on create; optional on update. The set of allowed values for
this enum. This set must not be empty, the display names of the values in
this set must not be empty and the display names of the values must be
case-insensitively unique within this set. Currently, enum values can
only be added to the list of allowed values. Deletion and renaming of
enum values are not supported. Can have up to 500 allowed values.
repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1;
Parameter |
---|
Name | Description |
index | int
|
getAllowedValuesCount()
public int getAllowedValuesCount()
Required on create; optional on update. The set of allowed values for
this enum. This set must not be empty, the display names of the values in
this set must not be empty and the display names of the values must be
case-insensitively unique within this set. Currently, enum values can
only be added to the list of allowed values. Deletion and renaming of
enum values are not supported. Can have up to 500 allowed values.
repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1;
Returns |
---|
Type | Description |
int | |
getAllowedValuesList()
public List<FieldType.EnumType.EnumValue> getAllowedValuesList()
Required on create; optional on update. The set of allowed values for
this enum. This set must not be empty, the display names of the values in
this set must not be empty and the display names of the values must be
case-insensitively unique within this set. Currently, enum values can
only be added to the list of allowed values. Deletion and renaming of
enum values are not supported. Can have up to 500 allowed values.
repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1;
getAllowedValuesOrBuilder(int index)
public FieldType.EnumType.EnumValueOrBuilder getAllowedValuesOrBuilder(int index)
Required on create; optional on update. The set of allowed values for
this enum. This set must not be empty, the display names of the values in
this set must not be empty and the display names of the values must be
case-insensitively unique within this set. Currently, enum values can
only be added to the list of allowed values. Deletion and renaming of
enum values are not supported. Can have up to 500 allowed values.
repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1;
Parameter |
---|
Name | Description |
index | int
|
getAllowedValuesOrBuilderList()
public List<? extends FieldType.EnumType.EnumValueOrBuilder> getAllowedValuesOrBuilderList()
Required on create; optional on update. The set of allowed values for
this enum. This set must not be empty, the display names of the values in
this set must not be empty and the display names of the values must be
case-insensitively unique within this set. Currently, enum values can
only be added to the list of allowed values. Deletion and renaming of
enum values are not supported. Can have up to 500 allowed values.
repeated .google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValue allowed_values = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.datacatalog.v1beta1.FieldType.EnumType.EnumValueOrBuilder> | |
getDefaultInstanceForType()
public FieldType.EnumType getDefaultInstanceForType()
getParserForType()
public Parser<FieldType.EnumType> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FieldType.EnumType.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FieldType.EnumType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public FieldType.EnumType.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides