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 |
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 |
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 |
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.
|
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) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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 dummy 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;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;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 © 2019 Google LLC. All rights reserved.