Class CloudInstanceResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder>
com.google.spanner.executor.v1.CloudInstanceResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CloudInstanceResponseOrBuilder, Cloneable
Enclosing class:
CloudInstanceResponse

public static final class CloudInstanceResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder> implements CloudInstanceResponseOrBuilder
 CloudInstanceResponse contains results returned by cloud instance related
 actions.
 
Protobuf type google.spanner.executor.v1.CloudInstanceResponse
  • Method Details

    • 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.Builder<CloudInstanceResponse.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.GeneratedMessageV3.Builder<CloudInstanceResponse.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.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder>
    • setField

      public CloudInstanceResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder>
    • clearField

      public CloudInstanceResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder>
    • clearOneof

      public CloudInstanceResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder>
    • setRepeatedField

      public CloudInstanceResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder>
    • addRepeatedField

      public CloudInstanceResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder>
    • mergeFrom

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder>
    • mergeFrom

      public CloudInstanceResponse.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<CloudInstanceResponse.Builder>
      Throws:
      IOException
    • 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
    • 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
    • setListedInstances

      public CloudInstanceResponse.Builder setListedInstances(int index, Instance value)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • setListedInstances

      public CloudInstanceResponse.Builder setListedInstances(int index, Instance.Builder builderForValue)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • addListedInstances

      public CloudInstanceResponse.Builder addListedInstances(Instance value)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • addListedInstances

      public CloudInstanceResponse.Builder addListedInstances(int index, Instance value)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • addListedInstances

      public CloudInstanceResponse.Builder addListedInstances(Instance.Builder builderForValue)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • addListedInstances

      public CloudInstanceResponse.Builder addListedInstances(int index, Instance.Builder builderForValue)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • addAllListedInstances

      public CloudInstanceResponse.Builder addAllListedInstances(Iterable<? extends Instance> values)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • clearListedInstances

      public CloudInstanceResponse.Builder clearListedInstances()
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • removeListedInstances

      public CloudInstanceResponse.Builder removeListedInstances(int index)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • getListedInstancesBuilder

      public Instance.Builder getListedInstancesBuilder(int index)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • 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
    • 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
    • addListedInstancesBuilder

      public Instance.Builder addListedInstancesBuilder()
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • addListedInstancesBuilder

      public Instance.Builder addListedInstancesBuilder(int index)
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • getListedInstancesBuilderList

      public List<Instance.Builder> getListedInstancesBuilderList()
       List of instances returned by ListCloudInstancesAction.
       
      repeated .google.spanner.admin.instance.v1.Instance listed_instances = 1;
    • 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.
    • setNextPageToken

      public CloudInstanceResponse.Builder setNextPageToken(String value)
       "next_page_token" can be sent in a subsequent list action
       to fetch more of the matching data.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public CloudInstanceResponse.Builder clearNextPageToken()
       "next_page_token" can be sent in a subsequent list action
       to fetch more of the matching data.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public CloudInstanceResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       "next_page_token" can be sent in a subsequent list action
       to fetch more of the matching data.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • 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.
    • setInstance

      public CloudInstanceResponse.Builder setInstance(Instance value)
       Instance returned by GetCloudInstanceAction
       
      .google.spanner.admin.instance.v1.Instance instance = 3;
    • setInstance

      public CloudInstanceResponse.Builder setInstance(Instance.Builder builderForValue)
       Instance returned by GetCloudInstanceAction
       
      .google.spanner.admin.instance.v1.Instance instance = 3;
    • mergeInstance

      public CloudInstanceResponse.Builder mergeInstance(Instance value)
       Instance returned by GetCloudInstanceAction
       
      .google.spanner.admin.instance.v1.Instance instance = 3;
    • clearInstance

      public CloudInstanceResponse.Builder clearInstance()
       Instance returned by GetCloudInstanceAction
       
      .google.spanner.admin.instance.v1.Instance instance = 3;
    • getInstanceBuilder

      public Instance.Builder getInstanceBuilder()
       Instance returned by GetCloudInstanceAction
       
      .google.spanner.admin.instance.v1.Instance instance = 3;
    • getInstanceOrBuilder

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

      public final CloudInstanceResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder>
    • mergeUnknownFields

      public final CloudInstanceResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudInstanceResponse.Builder>