Class InstanceListResponse.Instance.Builder

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

public static final class InstanceListResponse.Instance.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstanceListResponse.Instance.Builder> implements InstanceListResponse.InstanceOrBuilder
Summary information about a single instance.
Protobuf type soulfire.v1.InstanceListResponse.Instance
  • 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<InstanceListResponse.Instance.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<InstanceListResponse.Instance.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<InstanceListResponse.Instance.Builder>
    • getDefaultInstanceForType

      public InstanceListResponse.Instance 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 InstanceListResponse.Instance buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public InstanceListResponse.Instance.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<InstanceListResponse.Instance.Builder>
      Throws:
      IOException
    • getId

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

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

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

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

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

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

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

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

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

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

      public String getIcon()
      The icon identifier for the instance (used for UI display).
      
      string icon = 5;
      Specified by:
      getIcon in interface InstanceListResponse.InstanceOrBuilder
      Returns:
      The icon.
    • getIconBytes

      public com.google.protobuf.ByteString getIconBytes()
      The icon identifier for the instance (used for UI display).
      
      string icon = 5;
      Specified by:
      getIconBytes in interface InstanceListResponse.InstanceOrBuilder
      Returns:
      The bytes for icon.
    • setIcon

      The icon identifier for the instance (used for UI display).
      
      string icon = 5;
      Parameters:
      value - The icon to set.
      Returns:
      This builder for chaining.
    • clearIcon

      The icon identifier for the instance (used for UI display).
      
      string icon = 5;
      Returns:
      This builder for chaining.
    • setIconBytes

      public InstanceListResponse.Instance.Builder setIconBytes(com.google.protobuf.ByteString value)
      The icon identifier for the instance (used for UI display).
      
      string icon = 5;
      Parameters:
      value - The bytes for icon to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
      The current lifecycle state of the instance.
      
      .soulfire.v1.InstanceState state = 3;
      Specified by:
      getStateValue in interface InstanceListResponse.InstanceOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public InstanceListResponse.Instance.Builder setStateValue(int value)
      The current lifecycle state of the instance.
      
      .soulfire.v1.InstanceState state = 3;
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public InstanceState getState()
      The current lifecycle state of the instance.
      
      .soulfire.v1.InstanceState state = 3;
      Specified by:
      getState in interface InstanceListResponse.InstanceOrBuilder
      Returns:
      The state.
    • setState

      The current lifecycle state of the instance.
      
      .soulfire.v1.InstanceState state = 3;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      The current lifecycle state of the instance.
      
      .soulfire.v1.InstanceState state = 3;
      Returns:
      This builder for chaining.
    • getInstancePermissionsList

      public List<InstancePermissionState> getInstancePermissionsList()
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
      Specified by:
      getInstancePermissionsList in interface InstanceListResponse.InstanceOrBuilder
    • getInstancePermissionsCount

      public int getInstancePermissionsCount()
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
      Specified by:
      getInstancePermissionsCount in interface InstanceListResponse.InstanceOrBuilder
    • getInstancePermissions

      public InstancePermissionState getInstancePermissions(int index)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
      Specified by:
      getInstancePermissions in interface InstanceListResponse.InstanceOrBuilder
    • setInstancePermissions

      public InstanceListResponse.Instance.Builder setInstancePermissions(int index, InstancePermissionState value)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • setInstancePermissions

      public InstanceListResponse.Instance.Builder setInstancePermissions(int index, InstancePermissionState.Builder builderForValue)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • addInstancePermissions

      public InstanceListResponse.Instance.Builder addInstancePermissions(InstancePermissionState value)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • addInstancePermissions

      public InstanceListResponse.Instance.Builder addInstancePermissions(int index, InstancePermissionState value)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • addInstancePermissions

      public InstanceListResponse.Instance.Builder addInstancePermissions(InstancePermissionState.Builder builderForValue)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • addInstancePermissions

      public InstanceListResponse.Instance.Builder addInstancePermissions(int index, InstancePermissionState.Builder builderForValue)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • addAllInstancePermissions

      public InstanceListResponse.Instance.Builder addAllInstancePermissions(Iterable<? extends InstancePermissionState> values)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • clearInstancePermissions

      public InstanceListResponse.Instance.Builder clearInstancePermissions()
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • removeInstancePermissions

      public InstanceListResponse.Instance.Builder removeInstancePermissions(int index)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • getInstancePermissionsBuilder

      public InstancePermissionState.Builder getInstancePermissionsBuilder(int index)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • getInstancePermissionsOrBuilder

      public InstancePermissionStateOrBuilder getInstancePermissionsOrBuilder(int index)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
      Specified by:
      getInstancePermissionsOrBuilder in interface InstanceListResponse.InstanceOrBuilder
    • getInstancePermissionsOrBuilderList

      public List<? extends InstancePermissionStateOrBuilder> getInstancePermissionsOrBuilderList()
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
      Specified by:
      getInstancePermissionsOrBuilderList in interface InstanceListResponse.InstanceOrBuilder
    • addInstancePermissionsBuilder

      public InstancePermissionState.Builder addInstancePermissionsBuilder()
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • addInstancePermissionsBuilder

      public InstancePermissionState.Builder addInstancePermissionsBuilder(int index)
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;
    • getInstancePermissionsBuilderList

      public List<InstancePermissionState.Builder> getInstancePermissionsBuilderList()
      The permissions the current user has on this instance.
      Each permission indicates whether a specific action is allowed.
      
      repeated .soulfire.v1.InstancePermissionState instance_permissions = 4;