Class ListCloudDatabasesAction.Builder

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

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

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

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

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

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

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

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

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

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

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

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

      public String getProjectId()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Specified by:
      getProjectId in interface ListCloudDatabasesActionOrBuilder
      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 ListCloudDatabasesActionOrBuilder
      Returns:
      The bytes for projectId.
    • setProjectId

      public ListCloudDatabasesAction.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 ListCloudDatabasesAction.Builder clearProjectId()
       Cloud project ID, e.g. "spanner-cloud-systest".
       
      string project_id = 1;
      Returns:
      This builder for chaining.
    • setProjectIdBytes

      public ListCloudDatabasesAction.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.
    • getInstanceId

      public String getInstanceId()
       Cloud instance ID (not path) to list databases from, e.g. "test-instance".
       
      string instance_id = 2;
      Specified by:
      getInstanceId in interface ListCloudDatabasesActionOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

      public com.google.protobuf.ByteString getInstanceIdBytes()
       Cloud instance ID (not path) to list databases from, e.g. "test-instance".
       
      string instance_id = 2;
      Specified by:
      getInstanceIdBytes in interface ListCloudDatabasesActionOrBuilder
      Returns:
      The bytes for instanceId.
    • setInstanceId

      public ListCloudDatabasesAction.Builder setInstanceId(String value)
       Cloud instance ID (not path) to list databases from, e.g. "test-instance".
       
      string instance_id = 2;
      Parameters:
      value - The instanceId to set.
      Returns:
      This builder for chaining.
    • clearInstanceId

      public ListCloudDatabasesAction.Builder clearInstanceId()
       Cloud instance ID (not path) to list databases from, e.g. "test-instance".
       
      string instance_id = 2;
      Returns:
      This builder for chaining.
    • setInstanceIdBytes

      public ListCloudDatabasesAction.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
       Cloud instance ID (not path) to list databases from, e.g. "test-instance".
       
      string instance_id = 2;
      Parameters:
      value - The bytes for instanceId to set.
      Returns:
      This builder for chaining.
    • getPageSize

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

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

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

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

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

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

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

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

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

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