Class ListBackupOperationsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListBackupOperationsResponse.Builder>
com.google.spanner.admin.database.v1.ListBackupOperationsResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ListBackupOperationsResponseOrBuilder, Cloneable
Enclosing class:
ListBackupOperationsResponse

public static final class ListBackupOperationsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListBackupOperationsResponse.Builder> implements ListBackupOperationsResponseOrBuilder
 The response for
 [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations].
 
Protobuf type google.spanner.admin.database.v1.ListBackupOperationsResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListBackupOperationsResponse.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.GeneratedMessage.Builder<ListBackupOperationsResponse.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.GeneratedMessage.Builder<ListBackupOperationsResponse.Builder>
    • getDefaultInstanceForType

      public ListBackupOperationsResponse 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 ListBackupOperationsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

    • isInitialized

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

      public ListBackupOperationsResponse.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<ListBackupOperationsResponse.Builder>
      Throws:
      IOException
    • getOperationsList

      public List<Operation> getOperationsList()
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsList in interface ListBackupOperationsResponseOrBuilder
    • getOperationsCount

      public int getOperationsCount()
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsCount in interface ListBackupOperationsResponseOrBuilder
    • getOperations

      public Operation getOperations(int index)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperations in interface ListBackupOperationsResponseOrBuilder
    • setOperations

      public ListBackupOperationsResponse.Builder setOperations(int index, Operation value)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • setOperations

      public ListBackupOperationsResponse.Builder setOperations(int index, Operation.Builder builderForValue)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListBackupOperationsResponse.Builder addOperations(Operation value)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListBackupOperationsResponse.Builder addOperations(int index, Operation value)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListBackupOperationsResponse.Builder addOperations(Operation.Builder builderForValue)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListBackupOperationsResponse.Builder addOperations(int index, Operation.Builder builderForValue)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • addAllOperations

      public ListBackupOperationsResponse.Builder addAllOperations(Iterable<? extends Operation> values)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • clearOperations

      public ListBackupOperationsResponse.Builder clearOperations()
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • removeOperations

      public ListBackupOperationsResponse.Builder removeOperations(int index)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • getOperationsBuilder

      public Operation.Builder getOperationsBuilder(int index)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • getOperationsOrBuilder

      public OperationOrBuilder getOperationsOrBuilder(int index)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsOrBuilder in interface ListBackupOperationsResponseOrBuilder
    • getOperationsOrBuilderList

      public List<? extends OperationOrBuilder> getOperationsOrBuilderList()
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsOrBuilderList in interface ListBackupOperationsResponseOrBuilder
    • addOperationsBuilder

      public Operation.Builder addOperationsBuilder()
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperationsBuilder

      public Operation.Builder addOperationsBuilder(int index)
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • getOperationsBuilderList

      public List<Operation.Builder> getOperationsBuilderList()
       The list of matching backup [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the backup's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata. Operations returned
       include those that are pending or have completed/failed/canceled within the
       last 7 days. Operations returned are ordered by
       `operation.metadata.value.progress.start_time` in descending order starting
       from the most recently started operation.
       
      repeated .google.longrunning.Operation operations = 1;
    • getNextPageToken

      public String getNextPageToken()
       `next_page_token` can be sent in a subsequent
       [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
       call to fetch more of the matching metadata.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListBackupOperationsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       `next_page_token` can be sent in a subsequent
       [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
       call to fetch more of the matching metadata.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListBackupOperationsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListBackupOperationsResponse.Builder setNextPageToken(String value)
       `next_page_token` can be sent in a subsequent
       [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
       call to fetch more of the matching metadata.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListBackupOperationsResponse.Builder clearNextPageToken()
       `next_page_token` can be sent in a subsequent
       [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
       call to fetch more of the matching metadata.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListBackupOperationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       `next_page_token` can be sent in a subsequent
       [ListBackupOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListBackupOperations]
       call to fetch more of the matching metadata.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.