public static final class ListInstancesResponse.Builder extends GeneratedMessageV3.Builder<ListInstancesResponse.Builder> implements ListInstancesResponseOrBuilder
The response for [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].Protobuf type
google.spanner.admin.instance.v1.ListInstancesResponse
Modifier and Type | Method and Description |
---|---|
ListInstancesResponse.Builder |
addAllInstances(Iterable<? extends Instance> values)
The list of requested instances.
|
ListInstancesResponse.Builder |
addInstances(Instance.Builder builderForValue)
The list of requested instances.
|
ListInstancesResponse.Builder |
addInstances(Instance value)
The list of requested instances.
|
ListInstancesResponse.Builder |
addInstances(int index,
Instance.Builder builderForValue)
The list of requested instances.
|
ListInstancesResponse.Builder |
addInstances(int index,
Instance value)
The list of requested instances.
|
Instance.Builder |
addInstancesBuilder()
The list of requested instances.
|
Instance.Builder |
addInstancesBuilder(int index)
The list of requested instances.
|
ListInstancesResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ListInstancesResponse |
build() |
ListInstancesResponse |
buildPartial() |
ListInstancesResponse.Builder |
clear() |
ListInstancesResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
ListInstancesResponse.Builder |
clearInstances()
The list of requested instances.
|
ListInstancesResponse.Builder |
clearNextPageToken()
`next_page_token` can be sent in a subsequent
[ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] call to fetch more
of the matching instances.
|
ListInstancesResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ListInstancesResponse.Builder |
clone() |
ListInstancesResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Instance |
getInstances(int index)
The list of requested instances.
|
Instance.Builder |
getInstancesBuilder(int index)
The list of requested instances.
|
List<Instance.Builder> |
getInstancesBuilderList()
The list of requested instances.
|
int |
getInstancesCount()
The list of requested instances.
|
List<Instance> |
getInstancesList()
The list of requested instances.
|
InstanceOrBuilder |
getInstancesOrBuilder(int index)
The list of requested instances.
|
List<? extends InstanceOrBuilder> |
getInstancesOrBuilderList()
The list of requested instances.
|
String |
getNextPageToken()
`next_page_token` can be sent in a subsequent
[ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] call to fetch more
of the matching instances.
|
ByteString |
getNextPageTokenBytes()
`next_page_token` can be sent in a subsequent
[ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] call to fetch more
of the matching instances.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListInstancesResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListInstancesResponse.Builder |
mergeFrom(ListInstancesResponse other) |
ListInstancesResponse.Builder |
mergeFrom(Message other) |
ListInstancesResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListInstancesResponse.Builder |
removeInstances(int index)
The list of requested instances.
|
ListInstancesResponse.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ListInstancesResponse.Builder |
setInstances(int index,
Instance.Builder builderForValue)
The list of requested instances.
|
ListInstancesResponse.Builder |
setInstances(int index,
Instance value)
The list of requested instances.
|
ListInstancesResponse.Builder |
setNextPageToken(String value)
`next_page_token` can be sent in a subsequent
[ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] call to fetch more
of the matching instances.
|
ListInstancesResponse.Builder |
setNextPageTokenBytes(ByteString value)
`next_page_token` can be sent in a subsequent
[ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] call to fetch more
of the matching instances.
|
ListInstancesResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ListInstancesResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
public ListInstancesResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
public ListInstancesResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListInstancesResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListInstancesResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListInstancesResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
public ListInstancesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
public ListInstancesResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
public ListInstancesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
public ListInstancesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
public ListInstancesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
public ListInstancesResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListInstancesResponse.Builder>
public ListInstancesResponse.Builder mergeFrom(ListInstancesResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
public ListInstancesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListInstancesResponse.Builder>
IOException
public List<Instance> getInstancesList()
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
getInstancesList
in interface ListInstancesResponseOrBuilder
public int getInstancesCount()
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
getInstancesCount
in interface ListInstancesResponseOrBuilder
public Instance getInstances(int index)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
getInstances
in interface ListInstancesResponseOrBuilder
public ListInstancesResponse.Builder setInstances(int index, Instance value)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public ListInstancesResponse.Builder setInstances(int index, Instance.Builder builderForValue)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public ListInstancesResponse.Builder addInstances(Instance value)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public ListInstancesResponse.Builder addInstances(int index, Instance value)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public ListInstancesResponse.Builder addInstances(Instance.Builder builderForValue)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public ListInstancesResponse.Builder addInstances(int index, Instance.Builder builderForValue)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public ListInstancesResponse.Builder addAllInstances(Iterable<? extends Instance> values)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public ListInstancesResponse.Builder clearInstances()
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public ListInstancesResponse.Builder removeInstances(int index)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public Instance.Builder getInstancesBuilder(int index)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public InstanceOrBuilder getInstancesOrBuilder(int index)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
getInstancesOrBuilder
in interface ListInstancesResponseOrBuilder
public List<? extends InstanceOrBuilder> getInstancesOrBuilderList()
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
getInstancesOrBuilderList
in interface ListInstancesResponseOrBuilder
public Instance.Builder addInstancesBuilder()
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public Instance.Builder addInstancesBuilder(int index)
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public List<Instance.Builder> getInstancesBuilderList()
The list of requested instances.
repeated .google.spanner.admin.instance.v1.Instance instances = 1;
public String getNextPageToken()
`next_page_token` can be sent in a subsequent [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] call to fetch more of the matching instances.
string next_page_token = 2;
getNextPageToken
in interface ListInstancesResponseOrBuilder
public ByteString getNextPageTokenBytes()
`next_page_token` can be sent in a subsequent [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] call to fetch more of the matching instances.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListInstancesResponseOrBuilder
public ListInstancesResponse.Builder setNextPageToken(String value)
`next_page_token` can be sent in a subsequent [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] call to fetch more of the matching instances.
string next_page_token = 2;
value
- The nextPageToken to set.public ListInstancesResponse.Builder clearNextPageToken()
`next_page_token` can be sent in a subsequent [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] call to fetch more of the matching instances.
string next_page_token = 2;
public ListInstancesResponse.Builder setNextPageTokenBytes(ByteString value)
`next_page_token` can be sent in a subsequent [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances] call to fetch more of the matching instances.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListInstancesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
public final ListInstancesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.