Package com.google.cloud.redis.v1
Class ListInstancesResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
-
- com.google.cloud.redis.v1.ListInstancesResponse.Builder
-
- All Implemented Interfaces:
ListInstancesResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListInstancesResponse
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 typegoogle.cloud.redis.v1.ListInstancesResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListInstancesResponse.BuilderaddAllInstances(Iterable<? extends Instance> values)A list of Redis instances in the project in the specified location, or across all locations.ListInstancesResponse.BuilderaddAllUnreachable(Iterable<String> values)Locations that could not be reached.ListInstancesResponse.BuilderaddInstances(int index, Instance value)A list of Redis instances in the project in the specified location, or across all locations.ListInstancesResponse.BuilderaddInstances(int index, Instance.Builder builderForValue)A list of Redis instances in the project in the specified location, or across all locations.ListInstancesResponse.BuilderaddInstances(Instance value)A list of Redis instances in the project in the specified location, or across all locations.ListInstancesResponse.BuilderaddInstances(Instance.Builder builderForValue)A list of Redis instances in the project in the specified location, or across all locations.Instance.BuilderaddInstancesBuilder()A list of Redis instances in the project in the specified location, or across all locations.Instance.BuilderaddInstancesBuilder(int index)A list of Redis instances in the project in the specified location, or across all locations.ListInstancesResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListInstancesResponse.BuilderaddUnreachable(String value)Locations that could not be reached.ListInstancesResponse.BuilderaddUnreachableBytes(com.google.protobuf.ByteString value)Locations that could not be reached.ListInstancesResponsebuild()ListInstancesResponsebuildPartial()ListInstancesResponse.Builderclear()ListInstancesResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListInstancesResponse.BuilderclearInstances()A list of Redis instances in the project in the specified location, or across all locations.ListInstancesResponse.BuilderclearNextPageToken()Token to retrieve the next page of results, or empty if there are no more results in the list.ListInstancesResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListInstancesResponse.BuilderclearUnreachable()Locations that could not be reached.ListInstancesResponse.Builderclone()ListInstancesResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()InstancegetInstances(int index)A list of Redis instances in the project in the specified location, or across all locations.Instance.BuildergetInstancesBuilder(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.intgetInstancesCount()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.InstanceOrBuildergetInstancesOrBuilder(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.StringgetNextPageToken()Token to retrieve the next page of results, or empty if there are no more results in the list.com.google.protobuf.ByteStringgetNextPageTokenBytes()Token to retrieve the next page of results, or empty if there are no more results in the list.StringgetUnreachable(int index)Locations that could not be reached.com.google.protobuf.ByteStringgetUnreachableBytes(int index)Locations that could not be reached.intgetUnreachableCount()Locations that could not be reached.com.google.protobuf.ProtocolStringListgetUnreachableList()Locations that could not be reached.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListInstancesResponse.BuildermergeFrom(ListInstancesResponse other)ListInstancesResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListInstancesResponse.BuildermergeFrom(com.google.protobuf.Message other)ListInstancesResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListInstancesResponse.BuilderremoveInstances(int index)A list of Redis instances in the project in the specified location, or across all locations.ListInstancesResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListInstancesResponse.BuildersetInstances(int index, Instance value)A list of Redis instances in the project in the specified location, or across all locations.ListInstancesResponse.BuildersetInstances(int index, Instance.Builder builderForValue)A list of Redis instances in the project in the specified location, or across all locations.ListInstancesResponse.BuildersetNextPageToken(String value)Token to retrieve the next page of results, or empty if there are no more results in the list.ListInstancesResponse.BuildersetNextPageTokenBytes(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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListInstancesResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListInstancesResponse.BuildersetUnreachable(int index, String value)Locations that could not be reached.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<ListInstancesResponse.Builder>
-
clear
public ListInstancesResponse.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<ListInstancesResponse.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<ListInstancesResponse.Builder>
-
getDefaultInstanceForType
public ListInstancesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListInstancesResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListInstancesResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListInstancesResponse.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<ListInstancesResponse.Builder>
-
setField
public ListInstancesResponse.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<ListInstancesResponse.Builder>
-
clearField
public ListInstancesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
-
clearOneof
public ListInstancesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
-
setRepeatedField
public ListInstancesResponse.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<ListInstancesResponse.Builder>
-
addRepeatedField
public ListInstancesResponse.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<ListInstancesResponse.Builder>
-
mergeFrom
public ListInstancesResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListInstancesResponse.Builder>
-
mergeFrom
public ListInstancesResponse.Builder mergeFrom(ListInstancesResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
-
mergeFrom
public ListInstancesResponse.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<ListInstancesResponse.Builder>- Throws:
IOException
-
getInstancesList
public 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;- Specified by:
getInstancesListin interfaceListInstancesResponseOrBuilder
-
getInstancesCount
public 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;- Specified by:
getInstancesCountin interfaceListInstancesResponseOrBuilder
-
getInstances
public 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;- Specified by:
getInstancesin interfaceListInstancesResponseOrBuilder
-
setInstances
public 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;
-
setInstances
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;
-
addInstances
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;
-
addInstances
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;
-
addInstances
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;
-
addInstances
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;
-
addAllInstances
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;
-
clearInstances
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;
-
removeInstances
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;
-
getInstancesBuilder
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;
-
getInstancesOrBuilder
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;- Specified by:
getInstancesOrBuilderin interfaceListInstancesResponseOrBuilder
-
getInstancesOrBuilderList
public 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;- Specified by:
getInstancesOrBuilderListin interfaceListInstancesResponseOrBuilder
-
addInstancesBuilder
public 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;
-
addInstancesBuilder
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;
-
getInstancesBuilderList
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;
-
getNextPageToken
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;- Specified by:
getNextPageTokenin interfaceListInstancesResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public 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;- Specified by:
getNextPageTokenBytesin interfaceListInstancesResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public 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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
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;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getUnreachableList
public com.google.protobuf.ProtocolStringList getUnreachableList()
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableListin interfaceListInstancesResponseOrBuilder- Returns:
- A list containing the unreachable.
-
getUnreachableCount
public int getUnreachableCount()
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableCountin interfaceListInstancesResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
public String getUnreachable(int index)
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachablein interfaceListInstancesResponseOrBuilder- 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)
Locations that could not be reached.
repeated string unreachable = 3;- Specified by:
getUnreachableBytesin interfaceListInstancesResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
public ListInstancesResponse.Builder setUnreachable(int index, String value)
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
index- The index to set the value at.value- The unreachable to set.- Returns:
- This builder for chaining.
-
addUnreachable
public ListInstancesResponse.Builder addUnreachable(String value)
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The unreachable to add.- Returns:
- This builder for chaining.
-
addAllUnreachable
public ListInstancesResponse.Builder addAllUnreachable(Iterable<String> values)
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
values- The unreachable to add.- Returns:
- This builder for chaining.
-
clearUnreachable
public ListInstancesResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;- Returns:
- This builder for chaining.
-
addUnreachableBytes
public ListInstancesResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
Locations that could not be reached.
repeated string unreachable = 3;- Parameters:
value- The bytes of the unreachable to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListInstancesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
-
mergeUnknownFields
public final ListInstancesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesResponse.Builder>
-
-