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
Static Fields
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Value.EnumValue getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Value.EnumValue.Builder newBuilder()
Returns
newBuilder(Value.EnumValue prototype)
public static Value.EnumValue.Builder newBuilder(Value.EnumValue prototype)
Parameter
Returns
public static Value.EnumValue parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Value.EnumValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Value.EnumValue parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Value.EnumValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Value.EnumValue parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Value.EnumValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Value.EnumValue parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Value.EnumValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Value.EnumValue parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Value.EnumValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Value.EnumValue parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Value.EnumValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Value.EnumValue> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Value.EnumValue getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Value.EnumValue> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Value.EnumValue.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Value.EnumValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Value.EnumValue.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions