public static final class ListInstancesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder> implements ListInstancesResponseOrBuilder
Response for [ListInstances][google.cloud.redis.v1.CloudRedis.ListInstances].Protobuf type
google.cloud.redis.v1.ListInstancesResponse| Modifier and Type | Method and Description |
|---|---|
ListInstancesResponse.Builder |
addAllInstances(Iterable<? extends Instance> values)
A list of Redis 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 |
addInstances(Instance.Builder builderForValue)
A list of Redis instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
addInstances(Instance value)
A list of Redis instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
addInstances(int index,
Instance.Builder builderForValue)
A list of Redis instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
addInstances(int index,
Instance value)
A list of Redis instances in the project in the specified location,
or across all locations.
|
Instance.Builder |
addInstancesBuilder()
A list of Redis instances in the project in the specified location,
or across all locations.
|
Instance.Builder |
addInstancesBuilder(int index)
A list of Redis instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
clearInstances()
A list of Redis instances in the project in the specified location,
or across all locations.
|
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 |
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() |
Instance |
getInstances(int index)
A list of Redis instances in the project in the specified location,
or across all locations.
|
Instance.Builder |
getInstancesBuilder(int index)
A list of Redis instances in the project in the specified location,
or across all locations.
|
List<Instance.Builder> |
getInstancesBuilderList()
A list of Redis instances in the project in the specified location,
or across all locations.
|
int |
getInstancesCount()
A list of Redis instances in the project in the specified location,
or across all locations.
|
List<Instance> |
getInstancesList()
A list of Redis instances in the project in the specified location,
or across all locations.
|
InstanceOrBuilder |
getInstancesOrBuilder(int index)
A list of Redis instances in the project in the specified location,
or across all locations.
|
List<? extends InstanceOrBuilder> |
getInstancesOrBuilderList()
A list of Redis instances in the project in the specified location,
or across all locations.
|
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.
|
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 |
removeInstances(int index)
A list of Redis 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 |
setInstances(int index,
Instance.Builder builderForValue)
A list of Redis instances in the project in the specified location,
or across all locations.
|
ListInstancesResponse.Builder |
setInstances(int index,
Instance value)
A list of Redis instances in the project in the specified location,
or across all locations.
|
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 |
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> getInstancesList()
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;getInstancesList in interface ListInstancesResponseOrBuilderpublic int getInstancesCount()
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;getInstancesCount in interface ListInstancesResponseOrBuilderpublic Instance getInstances(int index)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;getInstances in interface ListInstancesResponseOrBuilderpublic ListInstancesResponse.Builder setInstances(int index, Instance value)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public ListInstancesResponse.Builder setInstances(int index, Instance.Builder builderForValue)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public ListInstancesResponse.Builder addInstances(Instance value)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public ListInstancesResponse.Builder addInstances(int index, Instance value)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public ListInstancesResponse.Builder addInstances(Instance.Builder builderForValue)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public ListInstancesResponse.Builder addInstances(int index, Instance.Builder builderForValue)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public ListInstancesResponse.Builder addAllInstances(Iterable<? extends Instance> values)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public ListInstancesResponse.Builder clearInstances()
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public ListInstancesResponse.Builder removeInstances(int index)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public Instance.Builder getInstancesBuilder(int index)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public InstanceOrBuilder getInstancesOrBuilder(int index)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;getInstancesOrBuilder in interface ListInstancesResponseOrBuilderpublic List<? extends InstanceOrBuilder> getInstancesOrBuilderList()
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;getInstancesOrBuilderList in interface ListInstancesResponseOrBuilderpublic Instance.Builder addInstancesBuilder()
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public Instance.Builder addInstancesBuilder(int index)
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 1;public List<Instance.Builder> getInstancesBuilderList()
A list of Redis 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.
If in such an aggregated query a location is unavailable, a placeholder
Redis entry is included in the response with the `name` field set to a
value of the form
`projects/{project_id}/locations/{location_id}/instances/`- and the
`status` field set to ERROR and `status_message` field set to "location not
available for ListInstances".
repeated .google.cloud.redis.v1.Instance instances = 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.