Class ListCloudInstancesAction.Builder

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

public static final class ListCloudInstancesAction.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListCloudInstancesAction.Builder> implements ListCloudInstancesActionOrBuilder
 Action that lists Cloud Spanner databases.
 
Protobuf type google.spanner.executor.v1.ListCloudInstancesAction
  • 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<ListCloudInstancesAction.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<ListCloudInstancesAction.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<ListCloudInstancesAction.Builder>
    • getDefaultInstanceForType

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

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

      public ListCloudInstancesAction 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<ListCloudInstancesAction.Builder>
    • setField

      public ListCloudInstancesAction.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<ListCloudInstancesAction.Builder>
    • clearField

      public ListCloudInstancesAction.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<ListCloudInstancesAction.Builder>
    • clearOneof

      public ListCloudInstancesAction.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<ListCloudInstancesAction.Builder>
    • setRepeatedField

      public ListCloudInstancesAction.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<ListCloudInstancesAction.Builder>
    • addRepeatedField

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

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

      public ListCloudInstancesAction.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<ListCloudInstancesAction.Builder>
      Throws:
      IOException
    • getProjectId

      public String getProjectId()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Specified by:
      getProjectId in interface ListCloudInstancesActionOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Specified by:
      getProjectIdBytes in interface ListCloudInstancesActionOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public ListCloudInstancesAction.Builder setProjectId(String value)
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Parameters:
      value - The projectId to set.
      Returns:
      This builder for chaining.
    • clearProjectId

      public ListCloudInstancesAction.Builder clearProjectId()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public ListCloudInstancesAction.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Parameters:
      value - The bytes for projectId to set.
      Returns:
      This builder for chaining.
    • hasFilter

      public boolean hasFilter()
       A filter expression that filters what operations are returned in the
       response.
       The expression must specify the field name, a comparison operator,
       and the value that you want to use for filtering.
       Refer spanner_instance_admin.proto.ListInstancesRequest for
       detail.
       
      optional string filter = 2;
      Specified by:
      hasFilter in interface ListCloudInstancesActionOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public String getFilter()
       A filter expression that filters what operations are returned in the
       response.
       The expression must specify the field name, a comparison operator,
       and the value that you want to use for filtering.
       Refer spanner_instance_admin.proto.ListInstancesRequest for
       detail.
       
      optional string filter = 2;
      Specified by:
      getFilter in interface ListCloudInstancesActionOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       A filter expression that filters what operations are returned in the
       response.
       The expression must specify the field name, a comparison operator,
       and the value that you want to use for filtering.
       Refer spanner_instance_admin.proto.ListInstancesRequest for
       detail.
       
      optional string filter = 2;
      Specified by:
      getFilterBytes in interface ListCloudInstancesActionOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

      public ListCloudInstancesAction.Builder setFilter(String value)
       A filter expression that filters what operations are returned in the
       response.
       The expression must specify the field name, a comparison operator,
       and the value that you want to use for filtering.
       Refer spanner_instance_admin.proto.ListInstancesRequest for
       detail.
       
      optional string filter = 2;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

      public ListCloudInstancesAction.Builder clearFilter()
       A filter expression that filters what operations are returned in the
       response.
       The expression must specify the field name, a comparison operator,
       and the value that you want to use for filtering.
       Refer spanner_instance_admin.proto.ListInstancesRequest for
       detail.
       
      optional string filter = 2;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListCloudInstancesAction.Builder setFilterBytes(com.google.protobuf.ByteString value)
       A filter expression that filters what operations are returned in the
       response.
       The expression must specify the field name, a comparison operator,
       and the value that you want to use for filtering.
       Refer spanner_instance_admin.proto.ListInstancesRequest for
       detail.
       
      optional string filter = 2;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • hasPageSize

      public boolean hasPageSize()
       Number of instances to be returned in the response. If 0 or
       less, defaults to the server's maximum allowed page size.
       
      optional int32 page_size = 3;
      Specified by:
      hasPageSize in interface ListCloudInstancesActionOrBuilder
      Returns:
      Whether the pageSize field is set.
    • getPageSize

      public int getPageSize()
       Number of instances to be returned in the response. If 0 or
       less, defaults to the server's maximum allowed page size.
       
      optional int32 page_size = 3;
      Specified by:
      getPageSize in interface ListCloudInstancesActionOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListCloudInstancesAction.Builder setPageSize(int value)
       Number of instances to be returned in the response. If 0 or
       less, defaults to the server's maximum allowed page size.
       
      optional int32 page_size = 3;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListCloudInstancesAction.Builder clearPageSize()
       Number of instances to be returned in the response. If 0 or
       less, defaults to the server's maximum allowed page size.
       
      optional int32 page_size = 3;
      Returns:
      This builder for chaining.
    • hasPageToken

      public boolean hasPageToken()
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstancesResponse to the same "parent"
       and with the same "filter".
       
      optional string page_token = 4;
      Specified by:
      hasPageToken in interface ListCloudInstancesActionOrBuilder
      Returns:
      Whether the pageToken field is set.
    • getPageToken

      public String getPageToken()
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstancesResponse to the same "parent"
       and with the same "filter".
       
      optional string page_token = 4;
      Specified by:
      getPageToken in interface ListCloudInstancesActionOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstancesResponse to the same "parent"
       and with the same "filter".
       
      optional string page_token = 4;
      Specified by:
      getPageTokenBytes in interface ListCloudInstancesActionOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListCloudInstancesAction.Builder setPageToken(String value)
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstancesResponse to the same "parent"
       and with the same "filter".
       
      optional string page_token = 4;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListCloudInstancesAction.Builder clearPageToken()
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstancesResponse to the same "parent"
       and with the same "filter".
       
      optional string page_token = 4;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListCloudInstancesAction.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       If non-empty, "page_token" should contain a next_page_token
       from a previous ListInstancesResponse to the same "parent"
       and with the same "filter".
       
      optional string page_token = 4;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListCloudInstancesAction.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<ListCloudInstancesAction.Builder>
    • mergeUnknownFields

      public final ListCloudInstancesAction.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<ListCloudInstancesAction.Builder>