Class SetInstanceMetadataEntryRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SetInstanceMetadataEntryRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<SetInstanceMetadataEntryRequest.Builder>
com.soulfiremc.grpc.generated.SetInstanceMetadataEntryRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SetInstanceMetadataEntryRequestOrBuilder, Cloneable
- Enclosing class:
SetInstanceMetadataEntryRequest
public static final class SetInstanceMetadataEntryRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SetInstanceMetadataEntryRequest.Builder>
implements SetInstanceMetadataEntryRequestOrBuilder
Request to set a single persistent metadata entry for an instance.Protobuf type
soulfire.v1.SetInstanceMetadataEntryRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The unique identifier (UUID) of the instance.clearKey()The key for the metadata entry within the namespace.The namespace for the metadata entry.The value to set.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe unique identifier (UUID) of the instance.com.google.protobuf.ByteStringThe unique identifier (UUID) of the instance.getKey()The key for the metadata entry within the namespace.com.google.protobuf.ByteStringThe key for the metadata entry within the namespace.The namespace for the metadata entry.com.google.protobuf.ByteStringThe namespace for the metadata entry.com.google.protobuf.ValuegetValue()The value to set.com.google.protobuf.Value.BuilderThe value to set.com.google.protobuf.ValueOrBuilderThe value to set.booleanhasValue()The value to set.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeValue(com.google.protobuf.Value value) The value to set.setInstanceId(String value) The unique identifier (UUID) of the instance.setInstanceIdBytes(com.google.protobuf.ByteString value) The unique identifier (UUID) of the instance.The key for the metadata entry within the namespace.setKeyBytes(com.google.protobuf.ByteString value) The key for the metadata entry within the namespace.setNamespace(String value) The namespace for the metadata entry.setNamespaceBytes(com.google.protobuf.ByteString value) The namespace for the metadata entry.setValue(com.google.protobuf.Value value) The value to set.setValue(com.google.protobuf.Value.Builder builderForValue) The value to set.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SetInstanceMetadataEntryRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SetInstanceMetadataEntryRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SetInstanceMetadataEntryRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetInstanceMetadataEntryRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SetInstanceMetadataEntryRequest.Builder>
-
mergeFrom
public SetInstanceMetadataEntryRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SetInstanceMetadataEntryRequest.Builder>- Throws:
IOException
-
getInstanceId
The unique identifier (UUID) of the instance.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceSetInstanceMetadataEntryRequestOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The unique identifier (UUID) of the instance.
string instance_id = 1;- Specified by:
getInstanceIdBytesin interfaceSetInstanceMetadataEntryRequestOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The unique identifier (UUID) of the instance.
string instance_id = 1;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The unique identifier (UUID) of the instance.
string instance_id = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
public SetInstanceMetadataEntryRequest.Builder setInstanceIdBytes(com.google.protobuf.ByteString value) The unique identifier (UUID) of the instance.
string instance_id = 1;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getNamespace
The namespace for the metadata entry.
string namespace = 2;- Specified by:
getNamespacein interfaceSetInstanceMetadataEntryRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace for the metadata entry.
string namespace = 2;- Specified by:
getNamespaceBytesin interfaceSetInstanceMetadataEntryRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The namespace for the metadata entry.
string namespace = 2;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The namespace for the metadata entry.
string namespace = 2;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public SetInstanceMetadataEntryRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) The namespace for the metadata entry.
string namespace = 2;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getKey
The key for the metadata entry within the namespace.
string key = 3;- Specified by:
getKeyin interfaceSetInstanceMetadataEntryRequestOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()The key for the metadata entry within the namespace.
string key = 3;- Specified by:
getKeyBytesin interfaceSetInstanceMetadataEntryRequestOrBuilder- Returns:
- The bytes for key.
-
setKey
The key for the metadata entry within the namespace.
string key = 3;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
The key for the metadata entry within the namespace.
string key = 3;- Returns:
- This builder for chaining.
-
setKeyBytes
The key for the metadata entry within the namespace.
string key = 3;- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()The value to set. Supports JSON value types.
.google.protobuf.Value value = 4;- Specified by:
hasValuein interfaceSetInstanceMetadataEntryRequestOrBuilder- Returns:
- Whether the value field is set.
-
getValue
public com.google.protobuf.Value getValue()The value to set. Supports JSON value types.
.google.protobuf.Value value = 4;- Specified by:
getValuein interfaceSetInstanceMetadataEntryRequestOrBuilder- Returns:
- The value.
-
setValue
The value to set. Supports JSON value types.
.google.protobuf.Value value = 4; -
setValue
public SetInstanceMetadataEntryRequest.Builder setValue(com.google.protobuf.Value.Builder builderForValue) The value to set. Supports JSON value types.
.google.protobuf.Value value = 4; -
mergeValue
The value to set. Supports JSON value types.
.google.protobuf.Value value = 4; -
clearValue
The value to set. Supports JSON value types.
.google.protobuf.Value value = 4; -
getValueBuilder
public com.google.protobuf.Value.Builder getValueBuilder()The value to set. Supports JSON value types.
.google.protobuf.Value value = 4; -
getValueOrBuilder
public com.google.protobuf.ValueOrBuilder getValueOrBuilder()The value to set. Supports JSON value types.
.google.protobuf.Value value = 4;- Specified by:
getValueOrBuilderin interfaceSetInstanceMetadataEntryRequestOrBuilder
-