public static final class AttributeValues.EnumAttributeValues extends GeneratedMessageV3 implements AttributeValues.EnumAttributeValuesOrBuilder
The attribute values of data type enum.
Protobuf type google.cloud.apihub.v1.AttributeValues.EnumAttributeValues
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
VALUES_FIELD_NUMBER
public static final int VALUES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AttributeValues.EnumAttributeValues getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AttributeValues.EnumAttributeValues.Builder newBuilder()
newBuilder(AttributeValues.EnumAttributeValues prototype)
public static AttributeValues.EnumAttributeValues.Builder newBuilder(AttributeValues.EnumAttributeValues prototype)
public static AttributeValues.EnumAttributeValues parseDelimitedFrom(InputStream input)
public static AttributeValues.EnumAttributeValues parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AttributeValues.EnumAttributeValues parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AttributeValues.EnumAttributeValues parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AttributeValues.EnumAttributeValues parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttributeValues.EnumAttributeValues parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AttributeValues.EnumAttributeValues parseFrom(CodedInputStream input)
public static AttributeValues.EnumAttributeValues parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AttributeValues.EnumAttributeValues parseFrom(InputStream input)
public static AttributeValues.EnumAttributeValues parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AttributeValues.EnumAttributeValues parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AttributeValues.EnumAttributeValues parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AttributeValues.EnumAttributeValues> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AttributeValues.EnumAttributeValues getDefaultInstanceForType()
getParserForType()
public Parser<AttributeValues.EnumAttributeValues> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getValues(int index)
public Attribute.AllowedValue getValues(int index)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getValuesCount()
public int getValuesCount()
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getValuesList()
public List<Attribute.AllowedValue> getValuesList()
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
getValuesOrBuilder(int index)
public Attribute.AllowedValueOrBuilder getValuesOrBuilder(int index)
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getValuesOrBuilderList()
public List<? extends Attribute.AllowedValueOrBuilder> getValuesOrBuilderList()
Required. The attribute values in case attribute data type is enum.
repeated .google.cloud.apihub.v1.Attribute.AllowedValue values = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.apihub.v1.Attribute.AllowedValueOrBuilder> |
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AttributeValues.EnumAttributeValues.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AttributeValues.EnumAttributeValues.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AttributeValues.EnumAttributeValues.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides