Class ListDatabaseOperationsResponse.Builder

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

public static final class ListDatabaseOperationsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListDatabaseOperationsResponse.Builder> implements ListDatabaseOperationsResponseOrBuilder
 The response for
 [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
 
Protobuf type google.spanner.admin.database.v1.ListDatabaseOperationsResponse
  • Method Summary

    Modifier and Type
    Method
    Description
    addAllOperations(Iterable<? extends com.google.longrunning.Operation> values)
    The list of matching database [long-running operations][google.longrunning.Operation].
    addOperations(int index, com.google.longrunning.Operation value)
    The list of matching database [long-running operations][google.longrunning.Operation].
    addOperations(int index, com.google.longrunning.Operation.Builder builderForValue)
    The list of matching database [long-running operations][google.longrunning.Operation].
    addOperations(com.google.longrunning.Operation value)
    The list of matching database [long-running operations][google.longrunning.Operation].
    addOperations(com.google.longrunning.Operation.Builder builderForValue)
    The list of matching database [long-running operations][google.longrunning.Operation].
    com.google.longrunning.Operation.Builder
    The list of matching database [long-running operations][google.longrunning.Operation].
    com.google.longrunning.Operation.Builder
    The list of matching database [long-running operations][google.longrunning.Operation].
     
     
     
    `next_page_token` can be sent in a subsequent [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations] call to fetch more of the matching metadata.
    The list of matching database [long-running operations][google.longrunning.Operation].
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    `next_page_token` can be sent in a subsequent [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations] call to fetch more of the matching metadata.
    com.google.protobuf.ByteString
    `next_page_token` can be sent in a subsequent [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations] call to fetch more of the matching metadata.
    com.google.longrunning.Operation
    getOperations(int index)
    The list of matching database [long-running operations][google.longrunning.Operation].
    com.google.longrunning.Operation.Builder
    The list of matching database [long-running operations][google.longrunning.Operation].
    List<com.google.longrunning.Operation.Builder>
    The list of matching database [long-running operations][google.longrunning.Operation].
    int
    The list of matching database [long-running operations][google.longrunning.Operation].
    List<com.google.longrunning.Operation>
    The list of matching database [long-running operations][google.longrunning.Operation].
    com.google.longrunning.OperationOrBuilder
    The list of matching database [long-running operations][google.longrunning.Operation].
    List<? extends com.google.longrunning.OperationOrBuilder>
    The list of matching database [long-running operations][google.longrunning.Operation].
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    removeOperations(int index)
    The list of matching database [long-running operations][google.longrunning.Operation].
    `next_page_token` can be sent in a subsequent [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations] call to fetch more of the matching metadata.
    setNextPageTokenBytes(com.google.protobuf.ByteString value)
    `next_page_token` can be sent in a subsequent [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations] call to fetch more of the matching metadata.
    setOperations(int index, com.google.longrunning.Operation value)
    The list of matching database [long-running operations][google.longrunning.Operation].
    setOperations(int index, com.google.longrunning.Operation.Builder builderForValue)
    The list of matching database [long-running operations][google.longrunning.Operation].

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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<ListDatabaseOperationsResponse.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<ListDatabaseOperationsResponse.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<ListDatabaseOperationsResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      public List<com.google.longrunning.Operation> getOperationsList()
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsList in interface ListDatabaseOperationsResponseOrBuilder
    • getOperationsCount

      public int getOperationsCount()
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsCount in interface ListDatabaseOperationsResponseOrBuilder
    • getOperations

      public com.google.longrunning.Operation getOperations(int index)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperations in interface ListDatabaseOperationsResponseOrBuilder
    • setOperations

      public ListDatabaseOperationsResponse.Builder setOperations(int index, com.google.longrunning.Operation value)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • setOperations

      public ListDatabaseOperationsResponse.Builder setOperations(int index, com.google.longrunning.Operation.Builder builderForValue)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListDatabaseOperationsResponse.Builder addOperations(com.google.longrunning.Operation value)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListDatabaseOperationsResponse.Builder addOperations(int index, com.google.longrunning.Operation value)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListDatabaseOperationsResponse.Builder addOperations(com.google.longrunning.Operation.Builder builderForValue)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperations

      public ListDatabaseOperationsResponse.Builder addOperations(int index, com.google.longrunning.Operation.Builder builderForValue)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addAllOperations

      public ListDatabaseOperationsResponse.Builder addAllOperations(Iterable<? extends com.google.longrunning.Operation> values)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • clearOperations

      public ListDatabaseOperationsResponse.Builder clearOperations()
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • removeOperations

      public ListDatabaseOperationsResponse.Builder removeOperations(int index)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • getOperationsBuilder

      public com.google.longrunning.Operation.Builder getOperationsBuilder(int index)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • getOperationsOrBuilder

      public com.google.longrunning.OperationOrBuilder getOperationsOrBuilder(int index)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsOrBuilder in interface ListDatabaseOperationsResponseOrBuilder
    • getOperationsOrBuilderList

      public List<? extends com.google.longrunning.OperationOrBuilder> getOperationsOrBuilderList()
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
      Specified by:
      getOperationsOrBuilderList in interface ListDatabaseOperationsResponseOrBuilder
    • addOperationsBuilder

      public com.google.longrunning.Operation.Builder addOperationsBuilder()
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • addOperationsBuilder

      public com.google.longrunning.Operation.Builder addOperationsBuilder(int index)
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • getOperationsBuilderList

      public List<com.google.longrunning.Operation.Builder> getOperationsBuilderList()
       The list of matching database [long-running
       operations][google.longrunning.Operation]. Each operation's name will be
       prefixed by the database's name. The operation's
       [metadata][google.longrunning.Operation.metadata] field type
       `metadata.type_url` describes the type of the metadata.
       
      repeated .google.longrunning.Operation operations = 1;
    • getNextPageToken

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

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

      public ListDatabaseOperationsResponse.Builder setNextPageToken(String value)
       `next_page_token` can be sent in a subsequent
       [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
       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 ListDatabaseOperationsResponse.Builder clearNextPageToken()
       `next_page_token` can be sent in a subsequent
       [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
       call to fetch more of the matching metadata.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListDatabaseOperationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       `next_page_token` can be sent in a subsequent
       [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations]
       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.