Class InstanceListResponse.Builder

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

public static final class InstanceListResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<InstanceListResponse.Builder> implements InstanceListResponseOrBuilder
Response containing a list of instances the current user has permission to view.
Protobuf type soulfire.v1.InstanceListResponse
  • 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.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.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.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public List<InstanceListResponse.Instance> getInstancesList()
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
      Specified by:
      getInstancesList in interface InstanceListResponseOrBuilder
    • getInstancesCount

      public int getInstancesCount()
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
      Specified by:
      getInstancesCount in interface InstanceListResponseOrBuilder
    • getInstances

      public InstanceListResponse.Instance getInstances(int index)
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
      Specified by:
      getInstances in interface InstanceListResponseOrBuilder
    • setInstances

      public InstanceListResponse.Builder setInstances(int index, InstanceListResponse.Instance value)
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • setInstances

      public InstanceListResponse.Builder setInstances(int index, InstanceListResponse.Instance.Builder builderForValue)
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • addInstances

      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • addInstances

      public InstanceListResponse.Builder addInstances(int index, InstanceListResponse.Instance value)
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • addInstances

      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • addInstances

      public InstanceListResponse.Builder addInstances(int index, InstanceListResponse.Instance.Builder builderForValue)
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • addAllInstances

      public InstanceListResponse.Builder addAllInstances(Iterable<? extends InstanceListResponse.Instance> values)
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • clearInstances

      public InstanceListResponse.Builder clearInstances()
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • removeInstances

      public InstanceListResponse.Builder removeInstances(int index)
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • getInstancesBuilder

      public InstanceListResponse.Instance.Builder getInstancesBuilder(int index)
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • getInstancesOrBuilder

      public InstanceListResponse.InstanceOrBuilder getInstancesOrBuilder(int index)
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
      Specified by:
      getInstancesOrBuilder in interface InstanceListResponseOrBuilder
    • getInstancesOrBuilderList

      public List<? extends InstanceListResponse.InstanceOrBuilder> getInstancesOrBuilderList()
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
      Specified by:
      getInstancesOrBuilderList in interface InstanceListResponseOrBuilder
    • addInstancesBuilder

      public InstanceListResponse.Instance.Builder addInstancesBuilder()
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • addInstancesBuilder

      public InstanceListResponse.Instance.Builder addInstancesBuilder(int index)
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;
    • getInstancesBuilderList

      public List<InstanceListResponse.Instance.Builder> getInstancesBuilderList()
      List of instances the user has READ_INSTANCE permission for.
      
      repeated .soulfire.v1.InstanceListResponse.Instance instances = 1;