Class InstanceUpdateMetaRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<InstanceUpdateMetaRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<InstanceUpdateMetaRequest.Builder>
com.soulfiremc.grpc.generated.InstanceUpdateMetaRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, InstanceUpdateMetaRequestOrBuilder, Cloneable
Enclosing class:
InstanceUpdateMetaRequest

public static final class InstanceUpdateMetaRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstanceUpdateMetaRequest.Builder> implements InstanceUpdateMetaRequestOrBuilder
Request to update instance metadata (name or icon).
Protobuf type soulfire.v1.InstanceUpdateMetaRequest
  • 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<InstanceUpdateMetaRequest.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<InstanceUpdateMetaRequest.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<InstanceUpdateMetaRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public InstanceUpdateMetaRequest.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<InstanceUpdateMetaRequest.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<InstanceUpdateMetaRequest.Builder>
    • mergeFrom

      public InstanceUpdateMetaRequest.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<InstanceUpdateMetaRequest.Builder>
      Throws:
      IOException
    • getMetaCase

      public InstanceUpdateMetaRequest.MetaCase getMetaCase()
      Specified by:
      getMetaCase in interface InstanceUpdateMetaRequestOrBuilder
    • clearMeta

    • getId

      public String getId()
      The unique identifier (UUID) of the instance to update.
      
      string id = 1;
      Specified by:
      getId in interface InstanceUpdateMetaRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      The unique identifier (UUID) of the instance to update.
      
      string id = 1;
      Specified by:
      getIdBytes in interface InstanceUpdateMetaRequestOrBuilder
      Returns:
      The bytes for id.
    • setId

      The unique identifier (UUID) of the instance to update.
      
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      The unique identifier (UUID) of the instance to update.
      
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public InstanceUpdateMetaRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
      The unique identifier (UUID) of the instance to update.
      
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • hasFriendlyName

      public boolean hasFriendlyName()
      New human-readable name for the instance.
      
      string friendly_name = 2;
      Specified by:
      hasFriendlyName in interface InstanceUpdateMetaRequestOrBuilder
      Returns:
      Whether the friendlyName field is set.
    • getFriendlyName

      public String getFriendlyName()
      New human-readable name for the instance.
      
      string friendly_name = 2;
      Specified by:
      getFriendlyName in interface InstanceUpdateMetaRequestOrBuilder
      Returns:
      The friendlyName.
    • getFriendlyNameBytes

      public com.google.protobuf.ByteString getFriendlyNameBytes()
      New human-readable name for the instance.
      
      string friendly_name = 2;
      Specified by:
      getFriendlyNameBytes in interface InstanceUpdateMetaRequestOrBuilder
      Returns:
      The bytes for friendlyName.
    • setFriendlyName

      public InstanceUpdateMetaRequest.Builder setFriendlyName(String value)
      New human-readable name for the instance.
      
      string friendly_name = 2;
      Parameters:
      value - The friendlyName to set.
      Returns:
      This builder for chaining.
    • clearFriendlyName

      public InstanceUpdateMetaRequest.Builder clearFriendlyName()
      New human-readable name for the instance.
      
      string friendly_name = 2;
      Returns:
      This builder for chaining.
    • setFriendlyNameBytes

      public InstanceUpdateMetaRequest.Builder setFriendlyNameBytes(com.google.protobuf.ByteString value)
      New human-readable name for the instance.
      
      string friendly_name = 2;
      Parameters:
      value - The bytes for friendlyName to set.
      Returns:
      This builder for chaining.
    • hasIcon

      public boolean hasIcon()
      New icon identifier for the instance.
      
      string icon = 3;
      Specified by:
      hasIcon in interface InstanceUpdateMetaRequestOrBuilder
      Returns:
      Whether the icon field is set.
    • getIcon

      public String getIcon()
      New icon identifier for the instance.
      
      string icon = 3;
      Specified by:
      getIcon in interface InstanceUpdateMetaRequestOrBuilder
      Returns:
      The icon.
    • getIconBytes

      public com.google.protobuf.ByteString getIconBytes()
      New icon identifier for the instance.
      
      string icon = 3;
      Specified by:
      getIconBytes in interface InstanceUpdateMetaRequestOrBuilder
      Returns:
      The bytes for icon.
    • setIcon

      public InstanceUpdateMetaRequest.Builder setIcon(String value)
      New icon identifier for the instance.
      
      string icon = 3;
      Parameters:
      value - The icon to set.
      Returns:
      This builder for chaining.
    • clearIcon

      New icon identifier for the instance.
      
      string icon = 3;
      Returns:
      This builder for chaining.
    • setIconBytes

      public InstanceUpdateMetaRequest.Builder setIconBytes(com.google.protobuf.ByteString value)
      New icon identifier for the instance.
      
      string icon = 3;
      Parameters:
      value - The bytes for icon to set.
      Returns:
      This builder for chaining.