Class ListCloudDatabaseOperationsAction.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

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

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

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

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

      public ListCloudDatabaseOperationsAction.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 database operations from,
       e.g. "test-instance".
       
      string instance_id = 2;
      Specified by:
      getInstanceId in interface ListCloudDatabaseOperationsActionOrBuilder
      Returns:
      The instanceId.
    • getInstanceIdBytes

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

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

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

      public ListCloudDatabaseOperationsAction.Builder setInstanceIdBytes(com.google.protobuf.ByteString value)
       Cloud instance ID (not path) to list database operations from,
       e.g. "test-instance".
       
      string instance_id = 2;
      Parameters:
      value - The bytes for instanceId to set.
      Returns:
      This builder for chaining.
    • 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_database_admin.proto.ListDatabaseOperationsRequest for
       detail.
       
      string filter = 3;
      Specified by:
      getFilter in interface ListCloudDatabaseOperationsActionOrBuilder
      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_database_admin.proto.ListDatabaseOperationsRequest for
       detail.
       
      string filter = 3;
      Specified by:
      getFilterBytes in interface ListCloudDatabaseOperationsActionOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

       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_database_admin.proto.ListDatabaseOperationsRequest for
       detail.
       
      string filter = 3;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • 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_database_admin.proto.ListDatabaseOperationsRequest for
       detail.
       
      string filter = 3;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListCloudDatabaseOperationsAction.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_database_admin.proto.ListDatabaseOperationsRequest for
       detail.
       
      string filter = 3;
      Parameters:
      value - The bytes for filter 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 = 4;
      Specified by:
      getPageSize in interface ListCloudDatabaseOperationsActionOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListCloudDatabaseOperationsAction.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 = 4;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • 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 = 4;
      Returns:
      This builder for chaining.
    • getPageToken

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

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

       If non-empty, "page_token" should contain a next_page_token
       from a previous ListDatabaseOperationsResponse to the same "parent"
       and with the same "filter".
       
      string page_token = 5;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

       If non-empty, "page_token" should contain a next_page_token
       from a previous ListDatabaseOperationsResponse to the same "parent"
       and with the same "filter".
       
      string page_token = 5;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

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

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

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