Class ListDatabaseOperationsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder> implements ListDatabaseOperationsResponseOrBuilder
The response for [ListDatabaseOperations][google.spanner.admin.database.v1.DatabaseAdmin.ListDatabaseOperations].
Protobuf typegoogle.spanner.admin.database.v1.ListDatabaseOperationsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDatabaseOperationsResponse.BuilderaddAllOperations(Iterable<? extends com.google.longrunning.Operation> values)The list of matching database [long-running operations][google.longrunning.Operation].ListDatabaseOperationsResponse.BuilderaddOperations(int index, com.google.longrunning.Operation value)The list of matching database [long-running operations][google.longrunning.Operation].ListDatabaseOperationsResponse.BuilderaddOperations(int index, com.google.longrunning.Operation.Builder builderForValue)The list of matching database [long-running operations][google.longrunning.Operation].ListDatabaseOperationsResponse.BuilderaddOperations(com.google.longrunning.Operation value)The list of matching database [long-running operations][google.longrunning.Operation].ListDatabaseOperationsResponse.BuilderaddOperations(com.google.longrunning.Operation.Builder builderForValue)The list of matching database [long-running operations][google.longrunning.Operation].com.google.longrunning.Operation.BuilderaddOperationsBuilder()The list of matching database [long-running operations][google.longrunning.Operation].com.google.longrunning.Operation.BuilderaddOperationsBuilder(int index)The list of matching database [long-running operations][google.longrunning.Operation].ListDatabaseOperationsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListDatabaseOperationsResponsebuild()ListDatabaseOperationsResponsebuildPartial()ListDatabaseOperationsResponse.Builderclear()ListDatabaseOperationsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListDatabaseOperationsResponse.BuilderclearNextPageToken()`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.ListDatabaseOperationsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListDatabaseOperationsResponse.BuilderclearOperations()The list of matching database [long-running operations][google.longrunning.Operation].ListDatabaseOperationsResponse.Builderclone()ListDatabaseOperationsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()`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.ByteStringgetNextPageTokenBytes()`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.OperationgetOperations(int index)The list of matching database [long-running operations][google.longrunning.Operation].com.google.longrunning.Operation.BuildergetOperationsBuilder(int index)The list of matching database [long-running operations][google.longrunning.Operation].List<com.google.longrunning.Operation.Builder>getOperationsBuilderList()The list of matching database [long-running operations][google.longrunning.Operation].intgetOperationsCount()The list of matching database [long-running operations][google.longrunning.Operation].List<com.google.longrunning.Operation>getOperationsList()The list of matching database [long-running operations][google.longrunning.Operation].com.google.longrunning.OperationOrBuildergetOperationsOrBuilder(int index)The list of matching database [long-running operations][google.longrunning.Operation].List<? extends com.google.longrunning.OperationOrBuilder>getOperationsOrBuilderList()The list of matching database [long-running operations][google.longrunning.Operation].protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListDatabaseOperationsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListDatabaseOperationsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListDatabaseOperationsResponse.BuildermergeFrom(ListDatabaseOperationsResponse other)ListDatabaseOperationsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListDatabaseOperationsResponse.BuilderremoveOperations(int index)The list of matching database [long-running operations][google.longrunning.Operation].ListDatabaseOperationsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListDatabaseOperationsResponse.BuildersetNextPageToken(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.ListDatabaseOperationsResponse.BuildersetNextPageTokenBytes(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.ListDatabaseOperationsResponse.BuildersetOperations(int index, com.google.longrunning.Operation value)The list of matching database [long-running operations][google.longrunning.Operation].ListDatabaseOperationsResponse.BuildersetOperations(int index, com.google.longrunning.Operation.Builder builderForValue)The list of matching database [long-running operations][google.longrunning.Operation].ListDatabaseOperationsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListDatabaseOperationsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
clear
public ListDatabaseOperationsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
getDefaultInstanceForType
public ListDatabaseOperationsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListDatabaseOperationsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListDatabaseOperationsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListDatabaseOperationsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
setField
public ListDatabaseOperationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
clearField
public ListDatabaseOperationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
clearOneof
public ListDatabaseOperationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
setRepeatedField
public ListDatabaseOperationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
addRepeatedField
public ListDatabaseOperationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
mergeFrom
public ListDatabaseOperationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListDatabaseOperationsResponse.Builder>
-
mergeFrom
public ListDatabaseOperationsResponse.Builder mergeFrom(ListDatabaseOperationsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
mergeFrom
public ListDatabaseOperationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getOperationsListin interfaceListDatabaseOperationsResponseOrBuilder
-
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:
getOperationsCountin interfaceListDatabaseOperationsResponseOrBuilder
-
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:
getOperationsin interfaceListDatabaseOperationsResponseOrBuilder
-
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:
getOperationsOrBuilderin interfaceListDatabaseOperationsResponseOrBuilder
-
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:
getOperationsOrBuilderListin interfaceListDatabaseOperationsResponseOrBuilder
-
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:
getNextPageTokenin interfaceListDatabaseOperationsResponseOrBuilder- 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:
getNextPageTokenBytesin interfaceListDatabaseOperationsResponseOrBuilder- 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.
-
setUnknownFields
public final ListDatabaseOperationsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
mergeUnknownFields
public final ListDatabaseOperationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListDatabaseOperationsResponse.Builder>
-
-