Class ListInstancePartitionOperationsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListInstancePartitionOperationsResponse.Builder>
com.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ListInstancePartitionOperationsResponseOrBuilder,Cloneable
- Enclosing class:
- ListInstancePartitionOperationsResponse
public static final class ListInstancePartitionOperationsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListInstancePartitionOperationsResponse.Builder>
implements ListInstancePartitionOperationsResponseOrBuilder
The response for [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations].Protobuf type
google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllOperations(Iterable<? extends Operation> values) The list of matching instance partition long-running operations.The list of unreachable instance partitions.addOperations(int index, Operation value) The list of matching instance partition long-running operations.addOperations(int index, Operation.Builder builderForValue) The list of matching instance partition long-running operations.addOperations(Operation value) The list of matching instance partition long-running operations.addOperations(Operation.Builder builderForValue) The list of matching instance partition long-running operations.The list of matching instance partition long-running operations.addOperationsBuilder(int index) The list of matching instance partition long-running operations.The list of unreachable instance partitions.addUnreachableInstancePartitionsBytes(com.google.protobuf.ByteString value) The list of unreachable instance partitions.build()clear()`next_page_token` can be sent in a subsequent [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations] call to fetch more of the matching metadata.The list of matching instance partition long-running operations.The list of unreachable instance partitions.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor`next_page_token` can be sent in a subsequent [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations] call to fetch more of the matching metadata.com.google.protobuf.ByteString`next_page_token` can be sent in a subsequent [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations] call to fetch more of the matching metadata.getOperations(int index) The list of matching instance partition long-running operations.getOperationsBuilder(int index) The list of matching instance partition long-running operations.The list of matching instance partition long-running operations.intThe list of matching instance partition long-running operations.The list of matching instance partition long-running operations.getOperationsOrBuilder(int index) The list of matching instance partition long-running operations.List<? extends OperationOrBuilder>The list of matching instance partition long-running operations.getUnreachableInstancePartitions(int index) The list of unreachable instance partitions.com.google.protobuf.ByteStringgetUnreachableInstancePartitionsBytes(int index) The list of unreachable instance partitions.intThe list of unreachable instance partitions.com.google.protobuf.ProtocolStringListThe list of unreachable instance partitions.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeOperations(int index) The list of matching instance partition long-running operations.setNextPageToken(String value) `next_page_token` can be sent in a subsequent [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations] call to fetch more of the matching metadata.setNextPageTokenBytes(com.google.protobuf.ByteString value) `next_page_token` can be sent in a subsequent [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations] call to fetch more of the matching metadata.setOperations(int index, Operation value) The list of matching instance partition long-running operations.setOperations(int index, Operation.Builder builderForValue) The list of matching instance partition long-running operations.setUnreachableInstancePartitions(int index, String value) The list of unreachable instance partitions.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListInstancePartitionOperationsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListInstancePartitionOperationsResponse.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.GeneratedMessage.Builder<ListInstancePartitionOperationsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListInstancePartitionOperationsResponse.Builder>
-
mergeFrom
public ListInstancePartitionOperationsResponse.Builder mergeFrom(ListInstancePartitionOperationsResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListInstancePartitionOperationsResponse.Builder>
-
mergeFrom
public ListInstancePartitionOperationsResponse.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<ListInstancePartitionOperationsResponse.Builder>- Throws:
IOException
-
getOperationsList
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsListin interfaceListInstancePartitionOperationsResponseOrBuilder
-
getOperationsCount
public int getOperationsCount()The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsCountin interfaceListInstancePartitionOperationsResponseOrBuilder
-
getOperations
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsin interfaceListInstancePartitionOperationsResponseOrBuilder
-
setOperations
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
setOperations
public ListInstancePartitionOperationsResponse.Builder setOperations(int index, Operation.Builder builderForValue) The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
addOperations
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
addOperations
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
addOperations
public ListInstancePartitionOperationsResponse.Builder addOperations(Operation.Builder builderForValue) The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
addOperations
public ListInstancePartitionOperationsResponse.Builder addOperations(int index, Operation.Builder builderForValue) The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
addAllOperations
public ListInstancePartitionOperationsResponse.Builder addAllOperations(Iterable<? extends Operation> values) The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
clearOperations
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
removeOperations
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
getOperationsBuilder
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
getOperationsOrBuilder
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsOrBuilderin interfaceListInstancePartitionOperationsResponseOrBuilder
-
getOperationsOrBuilderList
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1;- Specified by:
getOperationsOrBuilderListin interfaceListInstancePartitionOperationsResponseOrBuilder
-
addOperationsBuilder
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
addOperationsBuilder
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
getOperationsBuilderList
The list of matching instance partition long-running operations. Each operation's name will be prefixed by the instance partition's name. The operation's metadata field type `metadata.type_url` describes the type of the metadata.
repeated .google.longrunning.Operation operations = 1; -
getNextPageToken
`next_page_token` can be sent in a subsequent [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations] call to fetch more of the matching metadata.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListInstancePartitionOperationsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()`next_page_token` can be sent in a subsequent [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations] call to fetch more of the matching metadata.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListInstancePartitionOperationsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
`next_page_token` can be sent in a subsequent [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations] 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
`next_page_token` can be sent in a subsequent [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations] call to fetch more of the matching metadata.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListInstancePartitionOperationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) `next_page_token` can be sent in a subsequent [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations] 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.
-
getUnreachableInstancePartitionsList
public com.google.protobuf.ProtocolStringList getUnreachableInstancePartitionsList()The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
repeated string unreachable_instance_partitions = 3;- Specified by:
getUnreachableInstancePartitionsListin interfaceListInstancePartitionOperationsResponseOrBuilder- Returns:
- A list containing the unreachableInstancePartitions.
-
getUnreachableInstancePartitionsCount
public int getUnreachableInstancePartitionsCount()The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
repeated string unreachable_instance_partitions = 3;- Specified by:
getUnreachableInstancePartitionsCountin interfaceListInstancePartitionOperationsResponseOrBuilder- Returns:
- The count of unreachableInstancePartitions.
-
getUnreachableInstancePartitions
The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
repeated string unreachable_instance_partitions = 3;- Specified by:
getUnreachableInstancePartitionsin interfaceListInstancePartitionOperationsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachableInstancePartitions at the given index.
-
getUnreachableInstancePartitionsBytes
public com.google.protobuf.ByteString getUnreachableInstancePartitionsBytes(int index) The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
repeated string unreachable_instance_partitions = 3;- Specified by:
getUnreachableInstancePartitionsBytesin interfaceListInstancePartitionOperationsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachableInstancePartitions at the given index.
-
setUnreachableInstancePartitions
public ListInstancePartitionOperationsResponse.Builder setUnreachableInstancePartitions(int index, String value) The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
repeated string unreachable_instance_partitions = 3;- Parameters:
index- The index to set the value at.value- The unreachableInstancePartitions to set.- Returns:
- This builder for chaining.
-
addUnreachableInstancePartitions
public ListInstancePartitionOperationsResponse.Builder addUnreachableInstancePartitions(String value) The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
repeated string unreachable_instance_partitions = 3;- Parameters:
value- The unreachableInstancePartitions to add.- Returns:
- This builder for chaining.
-
addAllUnreachableInstancePartitions
public ListInstancePartitionOperationsResponse.Builder addAllUnreachableInstancePartitions(Iterable<String> values) The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
repeated string unreachable_instance_partitions = 3;- Parameters:
values- The unreachableInstancePartitions to add.- Returns:
- This builder for chaining.
-
clearUnreachableInstancePartitions
The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
repeated string unreachable_instance_partitions = 3;- Returns:
- This builder for chaining.
-
addUnreachableInstancePartitionsBytes
public ListInstancePartitionOperationsResponse.Builder addUnreachableInstancePartitionsBytes(com.google.protobuf.ByteString value) The list of unreachable instance partitions. It includes the names of instance partitions whose operation metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest.instance_partition_deadline].
repeated string unreachable_instance_partitions = 3;- Parameters:
value- The bytes of the unreachableInstancePartitions to add.- Returns:
- This builder for chaining.
-