Class InstanceListResponse.Instance

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

public static final class InstanceListResponse.Instance extends com.google.protobuf.GeneratedMessage implements InstanceListResponse.InstanceOrBuilder
Summary information about a single instance.
Protobuf type soulfire.v1.InstanceListResponse.Instance
See Also:
  • Field Details

  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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
    • 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
    • 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
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static InstanceListResponse.Instance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceListResponse.Instance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceListResponse.Instance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceListResponse.Instance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceListResponse.Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceListResponse.Instance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static InstanceListResponse.Instance parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InstanceListResponse.Instance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InstanceListResponse.Instance parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static InstanceListResponse.Instance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InstanceListResponse.Instance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static InstanceListResponse.Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public InstanceListResponse.Instance.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static InstanceListResponse.Instance.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected InstanceListResponse.Instance.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static InstanceListResponse.Instance getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<InstanceListResponse.Instance> parser()
    • getParserForType

      public com.google.protobuf.Parser<InstanceListResponse.Instance> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public InstanceListResponse.Instance getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder