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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SetAccountMetadataEntryRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<SetAccountMetadataEntryRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<SetAccountMetadataEntryRequest.Builder>
    • getDefaultInstanceForType

      public SetAccountMetadataEntryRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public SetAccountMetadataEntryRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SetAccountMetadataEntryRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetAccountMetadataEntryRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SetAccountMetadataEntryRequest.Builder>
      Throws:
      IOException
    • getInstanceId

      public String getInstanceId()
      The unique identifier (UUID) of the instance containing the account.
      
      string instance_id = 1;
      Specified by:
      getInstanceId in interface SetAccountMetadataEntryRequestOrBuilder
      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:
      getInstanceIdBytes in interface SetAccountMetadataEntryRequestOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public SetAccountMetadataEntryRequest.Builder setInstanceId(String value)
      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

      public SetAccountMetadataEntryRequest.Builder 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

      public String getAccountId()
      The profile_id (UUID) of the Minecraft account.
      
      string account_id = 2;
      Specified by:
      getAccountId in interface SetAccountMetadataEntryRequestOrBuilder
      Returns:
      The accountId.
    • getAccountIdBytes

      public com.google.protobuf.ByteString getAccountIdBytes()
      The profile_id (UUID) of the Minecraft account.
      
      string account_id = 2;
      Specified by:
      getAccountIdBytes in interface SetAccountMetadataEntryRequestOrBuilder
      Returns:
      The bytes for accountId.
    • setAccountId

      public SetAccountMetadataEntryRequest.Builder setAccountId(String value)
      The profile_id (UUID) of the Minecraft account.
      
      string account_id = 2;
      Parameters:
      value - The accountId to set.
      Returns:
      This builder for chaining.
    • clearAccountId

      public SetAccountMetadataEntryRequest.Builder 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

      public String getNamespace()
      The namespace for the metadata entry.
      
      string namespace = 3;
      Specified by:
      getNamespace in interface SetAccountMetadataEntryRequestOrBuilder
      Returns:
      The namespace.
    • getNamespaceBytes

      public com.google.protobuf.ByteString getNamespaceBytes()
      The namespace for the metadata entry.
      
      string namespace = 3;
      Specified by:
      getNamespaceBytes in interface SetAccountMetadataEntryRequestOrBuilder
      Returns:
      The bytes for namespace.
    • setNamespace

      public SetAccountMetadataEntryRequest.Builder setNamespace(String value)
      The namespace for the metadata entry.
      
      string namespace = 3;
      Parameters:
      value - The namespace to set.
      Returns:
      This builder for chaining.
    • clearNamespace

      public SetAccountMetadataEntryRequest.Builder 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

      public String getKey()
      The key for the metadata entry within the namespace.
      
      string key = 4;
      Specified by:
      getKey in interface SetAccountMetadataEntryRequestOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
      The key for the metadata entry within the namespace.
      
      string key = 4;
      Specified by:
      getKeyBytes in interface SetAccountMetadataEntryRequestOrBuilder
      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

      public SetAccountMetadataEntryRequest.Builder setKeyBytes(com.google.protobuf.ByteString value)
      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:
      hasValue in interface SetAccountMetadataEntryRequestOrBuilder
      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:
      getValue in interface SetAccountMetadataEntryRequestOrBuilder
      Returns:
      The value.
    • setValue

      public SetAccountMetadataEntryRequest.Builder setValue(com.google.protobuf.Value value)
      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

      public SetAccountMetadataEntryRequest.Builder mergeValue(com.google.protobuf.Value value)
      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:
      getValueOrBuilder in interface SetAccountMetadataEntryRequestOrBuilder