Class SetAccountMetadataEntryRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SetAccountMetadataEntryRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<SetAccountMetadataEntryRequest.Builder>
com.soulfiremc.grpc.generated.SetAccountMetadataEntryRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SetAccountMetadataEntryRequestOrBuilder, Cloneable
- Enclosing class:
SetAccountMetadataEntryRequest
public static final class SetAccountMetadataEntryRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SetAccountMetadataEntryRequest.Builder>
implements SetAccountMetadataEntryRequestOrBuilder
Request to set a single persistent metadata entry for an account.Protobuf type
soulfire.v1.SetAccountMetadataEntryRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The profile_id (UUID) of the Minecraft account.The unique identifier (UUID) of the instance containing the account.clearKey()The key for the metadata entry within the namespace.The namespace for the metadata entry.The value to set.The profile_id (UUID) of the Minecraft account.com.google.protobuf.ByteStringThe profile_id (UUID) of the Minecraft account.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe unique identifier (UUID) of the instance containing the account.com.google.protobuf.ByteStringThe unique identifier (UUID) of the instance containing the account.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.setAccountId(String value) The profile_id (UUID) of the Minecraft account.setAccountIdBytes(com.google.protobuf.ByteString value) The profile_id (UUID) of the Minecraft account.setInstanceId(String value) The unique identifier (UUID) of the instance containing the account.setInstanceIdBytes(com.google.protobuf.ByteString value) The unique identifier (UUID) of the instance containing the account.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<SetAccountMetadataEntryRequest.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<SetAccountMetadataEntryRequest.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<SetAccountMetadataEntryRequest.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<SetAccountMetadataEntryRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SetAccountMetadataEntryRequest.Builder>
-
mergeFrom
public SetAccountMetadataEntryRequest.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<SetAccountMetadataEntryRequest.Builder>- Throws:
IOException
-
getInstanceId
The unique identifier (UUID) of the instance containing the account.
string instance_id = 1;- Specified by:
getInstanceIdin interfaceSetAccountMetadataEntryRequestOrBuilder- Returns:
- The instanceId.
-
getInstanceIdBytes
public com.google.protobuf.ByteString getInstanceIdBytes()The unique identifier (UUID) of the instance containing the account.
string instance_id = 1;- Specified by:
getInstanceIdBytesin interfaceSetAccountMetadataEntryRequestOrBuilder- Returns:
- The bytes for instanceId.
-
setInstanceId
The unique identifier (UUID) of the instance containing the account.
string instance_id = 1;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The unique identifier (UUID) of the instance containing the account.
string instance_id = 1;- Returns:
- This builder for chaining.
-
setInstanceIdBytes
public SetAccountMetadataEntryRequest.Builder setInstanceIdBytes(com.google.protobuf.ByteString value) The unique identifier (UUID) of the instance containing the account.
string instance_id = 1;- Parameters:
value- The bytes for instanceId to set.- Returns:
- This builder for chaining.
-
getAccountId
The profile_id (UUID) of the Minecraft account.
string account_id = 2;- Specified by:
getAccountIdin interfaceSetAccountMetadataEntryRequestOrBuilder- Returns:
- The accountId.
-
getAccountIdBytes
public com.google.protobuf.ByteString getAccountIdBytes()The profile_id (UUID) of the Minecraft account.
string account_id = 2;- Specified by:
getAccountIdBytesin interfaceSetAccountMetadataEntryRequestOrBuilder- Returns:
- The bytes for accountId.
-
setAccountId
The profile_id (UUID) of the Minecraft account.
string account_id = 2;- Parameters:
value- The accountId to set.- Returns:
- This builder for chaining.
-
clearAccountId
The profile_id (UUID) of the Minecraft account.
string account_id = 2;- Returns:
- This builder for chaining.
-
setAccountIdBytes
public SetAccountMetadataEntryRequest.Builder setAccountIdBytes(com.google.protobuf.ByteString value) The profile_id (UUID) of the Minecraft account.
string account_id = 2;- Parameters:
value- The bytes for accountId to set.- Returns:
- This builder for chaining.
-
getNamespace
The namespace for the metadata entry.
string namespace = 3;- Specified by:
getNamespacein interfaceSetAccountMetadataEntryRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace for the metadata entry.
string namespace = 3;- Specified by:
getNamespaceBytesin interfaceSetAccountMetadataEntryRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The namespace for the metadata entry.
string namespace = 3;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The namespace for the metadata entry.
string namespace = 3;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public SetAccountMetadataEntryRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) The namespace for the metadata entry.
string namespace = 3;- 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 = 4;- Specified by:
getKeyin interfaceSetAccountMetadataEntryRequestOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()The key for the metadata entry within the namespace.
string key = 4;- Specified by:
getKeyBytesin interfaceSetAccountMetadataEntryRequestOrBuilder- Returns:
- The bytes for key.
-
setKey
The key for the metadata entry within the namespace.
string key = 4;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
The key for the metadata entry within the namespace.
string key = 4;- Returns:
- This builder for chaining.
-
setKeyBytes
The key for the metadata entry within the namespace.
string key = 4;- 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 = 5;- Specified by:
hasValuein interfaceSetAccountMetadataEntryRequestOrBuilder- 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 = 5;- Specified by:
getValuein interfaceSetAccountMetadataEntryRequestOrBuilder- Returns:
- The value.
-
setValue
The value to set. Supports JSON value types.
.google.protobuf.Value value = 5; -
setValue
public SetAccountMetadataEntryRequest.Builder setValue(com.google.protobuf.Value.Builder builderForValue) The value to set. Supports JSON value types.
.google.protobuf.Value value = 5; -
mergeValue
The value to set. Supports JSON value types.
.google.protobuf.Value value = 5; -
clearValue
The value to set. Supports JSON value types.
.google.protobuf.Value value = 5; -
getValueBuilder
public com.google.protobuf.Value.Builder getValueBuilder()The value to set. Supports JSON value types.
.google.protobuf.Value value = 5; -
getValueOrBuilder
public com.google.protobuf.ValueOrBuilder getValueOrBuilder()The value to set. Supports JSON value types.
.google.protobuf.Value value = 5;- Specified by:
getValueOrBuilderin interfaceSetAccountMetadataEntryRequestOrBuilder
-