Class CloudInstanceResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.spanner.executor.v1.CloudInstanceResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CloudInstanceResponseOrBuilder, Serializable

public final class CloudInstanceResponse extends com.google.protobuf.GeneratedMessageV3 implements CloudInstanceResponseOrBuilder
 CloudInstanceResponse contains results returned by cloud instance related
 actions.
 
Protobuf type google.spanner.executor.v1.CloudInstanceResponse
See Also:
  • Field Details

    • LISTED_INSTANCES_FIELD_NUMBER

      public static final int LISTED_INSTANCES_FIELD_NUMBER
      See Also:
    • NEXT_PAGE_TOKEN_FIELD_NUMBER

      public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
      See Also:
    • INSTANCE_FIELD_NUMBER

      public static final int INSTANCE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getListedInstancesList

      public List<Instance> getListedInstancesList()
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
      Specified by:
      getListedInstancesList in interface CloudInstanceResponseOrBuilder
    • getListedInstancesOrBuilderList

      public List<? extends InstanceOrBuilder> getListedInstancesOrBuilderList()
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
      Specified by:
      getListedInstancesOrBuilderList in interface CloudInstanceResponseOrBuilder
    • getListedInstancesCount

      public int getListedInstancesCount()
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
      Specified by:
      getListedInstancesCount in interface CloudInstanceResponseOrBuilder
    • getListedInstances

      public Instance getListedInstances(int index)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
      Specified by:
      getListedInstances in interface CloudInstanceResponseOrBuilder
    • getListedInstancesOrBuilder

      public InstanceOrBuilder getListedInstancesOrBuilder(int index)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
      Specified by:
      getListedInstancesOrBuilder in interface CloudInstanceResponseOrBuilder
    • getNextPageToken

      public String getNextPageToken()
       "next_page_token" can be sent in a subsequent list action
       to fetch more of the matching data.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface CloudInstanceResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       "next_page_token" can be sent in a subsequent list action
       to fetch more of the matching data.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface CloudInstanceResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • hasInstance

      public boolean hasInstance()
       Instance returned by GetCloudInstanceAction
       
      .google.spanner.admin.instance.v1.Instance instance = 3;
      Specified by:
      hasInstance in interface CloudInstanceResponseOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public Instance getInstance()
       Instance returned by GetCloudInstanceAction
       
      .google.spanner.admin.instance.v1.Instance instance = 3;
      Specified by:
      getInstance in interface CloudInstanceResponseOrBuilder
      Returns:
      The instance.
    • getInstanceOrBuilder

      public InstanceOrBuilder getInstanceOrBuilder()
       Instance returned by GetCloudInstanceAction
       
      .google.spanner.admin.instance.v1.Instance instance = 3;
      Specified by:
      getInstanceOrBuilder in interface CloudInstanceResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • 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.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • 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 CloudInstanceResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static CloudInstanceResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static CloudInstanceResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static CloudInstanceResponse.Builder newBuilder()
    • newBuilder

      public static CloudInstanceResponse.Builder newBuilder(CloudInstanceResponse prototype)
    • toBuilder

      public CloudInstanceResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected CloudInstanceResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static CloudInstanceResponse getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<CloudInstanceResponse> 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.GeneratedMessageV3
    • getDefaultInstanceForType

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