public static final class ListInstancesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder> implements ListInstancesResponseOrBuilder
Response for [ListInstances][google.cloud.memcache.v1beta2.CloudMemcache.ListInstances].Protobuf type
google.cloud.memcache.v1beta2.ListInstancesResponse| Modifier and Type | Method and Description |
|---|---|
ListInstancesResponse.Builder |
addAllResources(Iterable<? extends Instance> values)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
|
ListInstancesResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListInstancesResponse.Builder |
addResources(Instance.Builder builderForValue)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
addResources(Instance value)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
addResources(int index,
Instance.Builder builderForValue)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
addResources(int index,
Instance value)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
Instance.Builder |
addResourcesBuilder()
A list of Memcached instances in the project in the specified location,
or across all locations.
|
Instance.Builder |
addResourcesBuilder(int index)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
addUnreachable(String value)
Locations that could not be reached.
|
ListInstancesResponse.Builder |
addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
|
ListInstancesResponse |
build() |
ListInstancesResponse |
buildPartial() |
ListInstancesResponse.Builder |
clear() |
ListInstancesResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListInstancesResponse.Builder |
clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more
results in the list.
|
ListInstancesResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListInstancesResponse.Builder |
clearResources()
A list of Memcached instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
clearUnreachable()
Locations that could not be reached.
|
ListInstancesResponse.Builder |
clone() |
ListInstancesResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more
results in the list.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more
results in the list.
|
Instance |
getResources(int index)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
Instance.Builder |
getResourcesBuilder(int index)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
List<Instance.Builder> |
getResourcesBuilderList()
A list of Memcached instances in the project in the specified location,
or across all locations.
|
int |
getResourcesCount()
A list of Memcached instances in the project in the specified location,
or across all locations.
|
List<Instance> |
getResourcesList()
A list of Memcached instances in the project in the specified location,
or across all locations.
|
InstanceOrBuilder |
getResourcesOrBuilder(int index)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
List<? extends InstanceOrBuilder> |
getResourcesOrBuilderList()
A list of Memcached instances in the project in the specified location,
or across all locations.
|
String |
getUnreachable(int index)
Locations that could not be reached.
|
com.google.protobuf.ByteString |
getUnreachableBytes(int index)
Locations that could not be reached.
|
int |
getUnreachableCount()
Locations that could not be reached.
|
com.google.protobuf.ProtocolStringList |
getUnreachableList()
Locations that could not be reached.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListInstancesResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListInstancesResponse.Builder |
mergeFrom(ListInstancesResponse other) |
ListInstancesResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListInstancesResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListInstancesResponse.Builder |
removeResources(int index)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListInstancesResponse.Builder |
setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more
results in the list.
|
ListInstancesResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results, or empty if there are no more
results in the list.
|
ListInstancesResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListInstancesResponse.Builder |
setResources(int index,
Instance.Builder builderForValue)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
setResources(int index,
Instance value)
A list of Memcached instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListInstancesResponse.Builder |
setUnreachable(int index,
String value)
Locations that could not be reached.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListInstancesResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListInstancesResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListInstancesResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder mergeFrom(ListInstancesResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public ListInstancesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListInstancesResponse.Builder>IOExceptionpublic List<Instance> getResourcesList()
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;getResourcesList in interface ListInstancesResponseOrBuilderpublic int getResourcesCount()
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;getResourcesCount in interface ListInstancesResponseOrBuilderpublic Instance getResources(int index)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;getResources in interface ListInstancesResponseOrBuilderpublic ListInstancesResponse.Builder setResources(int index, Instance value)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public ListInstancesResponse.Builder setResources(int index, Instance.Builder builderForValue)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public ListInstancesResponse.Builder addResources(Instance value)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public ListInstancesResponse.Builder addResources(int index, Instance value)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public ListInstancesResponse.Builder addResources(Instance.Builder builderForValue)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public ListInstancesResponse.Builder addResources(int index, Instance.Builder builderForValue)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public ListInstancesResponse.Builder addAllResources(Iterable<? extends Instance> values)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public ListInstancesResponse.Builder clearResources()
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public ListInstancesResponse.Builder removeResources(int index)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public Instance.Builder getResourcesBuilder(int index)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public InstanceOrBuilder getResourcesOrBuilder(int index)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;getResourcesOrBuilder in interface ListInstancesResponseOrBuilderpublic List<? extends InstanceOrBuilder> getResourcesOrBuilderList()
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;getResourcesOrBuilderList in interface ListInstancesResponseOrBuilderpublic Instance.Builder addResourcesBuilder()
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public Instance.Builder addResourcesBuilder(int index)
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public List<Instance.Builder> getResourcesBuilderList()
A list of Memcached instances in the project in the specified location, or across all locations. If the `location_id` in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.
repeated .google.cloud.memcache.v1beta2.Instance resources = 1;public String getNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;getNextPageToken in interface ListInstancesResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;getNextPageTokenBytes in interface ListInstancesResponseOrBuilderpublic ListInstancesResponse.Builder setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;value - The nextPageToken to set.public ListInstancesResponse.Builder clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;public ListInstancesResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;value - The bytes for nextPageToken to set.public com.google.protobuf.ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;getUnreachableList in interface ListInstancesResponseOrBuilderpublic int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;getUnreachableCount in interface ListInstancesResponseOrBuilderpublic String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;getUnreachable in interface ListInstancesResponseOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getUnreachableBytes(int index)
Locations that could not be reached.
repeated string unreachable = 3;getUnreachableBytes in interface ListInstancesResponseOrBuilderindex - The index of the value to return.public ListInstancesResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;index - The index to set the value at.value - The unreachable to set.public ListInstancesResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;value - The unreachable to add.public ListInstancesResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;values - The unreachable to add.public ListInstancesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;public ListInstancesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;value - The bytes of the unreachable to add.public final ListInstancesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>public final ListInstancesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>Copyright © 2024 Google LLC. All rights reserved.