Class ListInstancePartitionsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListInstancePartitionsResponse.Builder>
com.google.spanner.admin.instance.v1.ListInstancePartitionsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ListInstancePartitionsResponseOrBuilder,Cloneable
- Enclosing class:
- ListInstancePartitionsResponse
public static final class ListInstancePartitionsResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ListInstancePartitionsResponse.Builder>
implements ListInstancePartitionsResponseOrBuilder
The response for [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions].Protobuf type
google.spanner.admin.instance.v1.ListInstancePartitionsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllInstancePartitions(Iterable<? extends InstancePartition> values) The list of requested instancePartitions.addAllUnreachable(Iterable<String> values) The list of unreachable instances or instance partitions.addInstancePartitions(int index, InstancePartition value) The list of requested instancePartitions.addInstancePartitions(int index, InstancePartition.Builder builderForValue) The list of requested instancePartitions.The list of requested instancePartitions.addInstancePartitions(InstancePartition.Builder builderForValue) The list of requested instancePartitions.The list of requested instancePartitions.addInstancePartitionsBuilder(int index) The list of requested instancePartitions.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addUnreachable(String value) The list of unreachable instances or instance partitions.addUnreachableBytes(com.google.protobuf.ByteString value) The list of unreachable instances or instance partitions.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The list of requested instancePartitions.`next_page_token` can be sent in a subsequent [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions] call to fetch more of the matching instance partitions.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The list of unreachable instances or instance partitions.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetInstancePartitions(int index) The list of requested instancePartitions.getInstancePartitionsBuilder(int index) The list of requested instancePartitions.The list of requested instancePartitions.intThe list of requested instancePartitions.The list of requested instancePartitions.getInstancePartitionsOrBuilder(int index) The list of requested instancePartitions.List<? extends InstancePartitionOrBuilder>The list of requested instancePartitions.`next_page_token` can be sent in a subsequent [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions] call to fetch more of the matching instance partitions.com.google.protobuf.ByteString`next_page_token` can be sent in a subsequent [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions] call to fetch more of the matching instance partitions.getUnreachable(int index) The list of unreachable instances or instance partitions.com.google.protobuf.ByteStringgetUnreachableBytes(int index) The list of unreachable instances or instance partitions.intThe list of unreachable instances or instance partitions.com.google.protobuf.ProtocolStringListThe list of unreachable instances or instance partitions.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeInstancePartitions(int index) The list of requested instancePartitions.setInstancePartitions(int index, InstancePartition value) The list of requested instancePartitions.setInstancePartitions(int index, InstancePartition.Builder builderForValue) The list of requested instancePartitions.setNextPageToken(String value) `next_page_token` can be sent in a subsequent [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions] call to fetch more of the matching instance partitions.setNextPageTokenBytes(com.google.protobuf.ByteString value) `next_page_token` can be sent in a subsequent [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions] call to fetch more of the matching instance partitions.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUnreachable(int index, String value) The list of unreachable instances or instance partitions.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancePartitionsResponse.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<ListInstancePartitionsResponse.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<ListInstancePartitionsResponse.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancePartitionsResponse.Builder>
-
setField
public ListInstancePartitionsResponse.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<ListInstancePartitionsResponse.Builder>
-
clearField
public ListInstancePartitionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancePartitionsResponse.Builder>
-
clearOneof
public ListInstancePartitionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancePartitionsResponse.Builder>
-
setRepeatedField
public ListInstancePartitionsResponse.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<ListInstancePartitionsResponse.Builder>
-
addRepeatedField
public ListInstancePartitionsResponse.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<ListInstancePartitionsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListInstancePartitionsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancePartitionsResponse.Builder>
-
mergeFrom
public ListInstancePartitionsResponse.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<ListInstancePartitionsResponse.Builder>- Throws:
IOException
-
getInstancePartitionsList
The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1;- Specified by:
getInstancePartitionsListin interfaceListInstancePartitionsResponseOrBuilder
-
getInstancePartitionsCount
public int getInstancePartitionsCount()The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1;- Specified by:
getInstancePartitionsCountin interfaceListInstancePartitionsResponseOrBuilder
-
getInstancePartitions
The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1;- Specified by:
getInstancePartitionsin interfaceListInstancePartitionsResponseOrBuilder
-
setInstancePartitions
public ListInstancePartitionsResponse.Builder setInstancePartitions(int index, InstancePartition value) The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
setInstancePartitions
public ListInstancePartitionsResponse.Builder setInstancePartitions(int index, InstancePartition.Builder builderForValue) The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
addInstancePartitions
The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
addInstancePartitions
public ListInstancePartitionsResponse.Builder addInstancePartitions(int index, InstancePartition value) The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
addInstancePartitions
public ListInstancePartitionsResponse.Builder addInstancePartitions(InstancePartition.Builder builderForValue) The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
addInstancePartitions
public ListInstancePartitionsResponse.Builder addInstancePartitions(int index, InstancePartition.Builder builderForValue) The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
addAllInstancePartitions
public ListInstancePartitionsResponse.Builder addAllInstancePartitions(Iterable<? extends InstancePartition> values) The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
clearInstancePartitions
The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
removeInstancePartitions
The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
getInstancePartitionsBuilder
The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
getInstancePartitionsOrBuilder
The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1;- Specified by:
getInstancePartitionsOrBuilderin interfaceListInstancePartitionsResponseOrBuilder
-
getInstancePartitionsOrBuilderList
The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1;- Specified by:
getInstancePartitionsOrBuilderListin interfaceListInstancePartitionsResponseOrBuilder
-
addInstancePartitionsBuilder
The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
addInstancePartitionsBuilder
The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
getInstancePartitionsBuilderList
The list of requested instancePartitions.
repeated .google.spanner.admin.instance.v1.InstancePartition instance_partitions = 1; -
getNextPageToken
`next_page_token` can be sent in a subsequent [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions] call to fetch more of the matching instance partitions.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListInstancePartitionsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()`next_page_token` can be sent in a subsequent [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions] call to fetch more of the matching instance partitions.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListInstancePartitionsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
`next_page_token` can be sent in a subsequent [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions] call to fetch more of the matching instance partitions.
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 [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions] call to fetch more of the matching instance partitions.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListInstancePartitionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) `next_page_token` can be sent in a subsequent [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions] call to fetch more of the matching instance partitions.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionsRequest.instance_partition_deadline].
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListInstancePartitionsResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionsRequest.instance_partition_deadline].
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListInstancePartitionsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionsRequest.instance_partition_deadline].
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListInstancePartitionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The unreachable at the given index.
-
getUnreachableBytes
public com.google.protobuf.ByteString getUnreachableBytes(int index) The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionsRequest.instance_partition_deadline].
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListInstancePartitionsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionsRequest.instance_partition_deadline].
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionsRequest.instance_partition_deadline].
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionsRequest.instance_partition_deadline].
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionsRequest.instance_partition_deadline].
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListInstancePartitionsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value) The list of unreachable instances or instance partitions. It includes the names of instances or instance partitions whose metadata could not be retrieved within [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionsRequest.instance_partition_deadline].
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListInstancePartitionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancePartitionsResponse.Builder>
-
mergeUnknownFields
public final ListInstancePartitionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancePartitionsResponse.Builder>
-