public static final class Value.EnumValue extends GeneratedMessageV3 implements Value.EnumValueOrBuilder
A enum value that can hold any enum type setting values.
Each enum type is represented by a number, this representation
is stored in the definitions.
Protobuf type google.cloud.resourcesettings.v1.Value.EnumValue
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>)
Static Fields
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Value.EnumValue getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Value.EnumValue.Builder newBuilder()
newBuilder(Value.EnumValue prototype)
public static Value.EnumValue.Builder newBuilder(Value.EnumValue prototype)
public static Value.EnumValue parseDelimitedFrom(InputStream input)
public static Value.EnumValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Value.EnumValue parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Value.EnumValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Value.EnumValue parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Value.EnumValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Value.EnumValue parseFrom(CodedInputStream input)
public static Value.EnumValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Value.EnumValue parseFrom(InputStream input)
public static Value.EnumValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Value.EnumValue parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Value.EnumValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Value.EnumValue> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Value.EnumValue getDefaultInstanceForType()
getParserForType()
public Parser<Value.EnumValue> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getValue()
The value of this enum
string value = 1;
Returns |
---|
Type | Description |
String | The value.
|
getValueBytes()
public ByteString getValueBytes()
The value of this enum
string value = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for value.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Value.EnumValue.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Value.EnumValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Value.EnumValue.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides