- 0.62.0 (latest)
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.1.0
public static final class ListResourcesResponse.Builder extends GeneratedMessage.Builder<ListResourcesResponse.Builder> implements ListResourcesResponseOrBuilderA response to a 'ListResources' call. Contains a list of Resources.
Protobuf type google.cloud.config.v1.ListResourcesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListResourcesResponse.BuilderImplements
ListResourcesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllResources(Iterable<? extends Resource> values)
public ListResourcesResponse.Builder addAllResources(Iterable<? extends Resource> values)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.config.v1.Resource> |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public ListResourcesResponse.Builder addAllUnreachable(Iterable<String> values)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
This builder for chaining. |
addResources(Resource value)
public ListResourcesResponse.Builder addResources(Resource value)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Resource |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
addResources(Resource.Builder builderForValue)
public ListResourcesResponse.Builder addResources(Resource.Builder builderForValue)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Resource.Builder |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
addResources(int index, Resource value)
public ListResourcesResponse.Builder addResources(int index, Resource value)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Resource |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
addResources(int index, Resource.Builder builderForValue)
public ListResourcesResponse.Builder addResources(int index, Resource.Builder builderForValue)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Resource.Builder |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
addResourcesBuilder()
public Resource.Builder addResourcesBuilder()List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
addResourcesBuilder(int index)
public Resource.Builder addResourcesBuilder(int index)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
addUnreachable(String value)
public ListResourcesResponse.Builder addUnreachable(String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public ListResourcesResponse.Builder addUnreachableBytes(ByteString value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
This builder for chaining. |
build()
public ListResourcesResponse build()| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse |
|
buildPartial()
public ListResourcesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse |
|
clear()
public ListResourcesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
clearNextPageToken()
public ListResourcesResponse.Builder clearNextPageToken()A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
This builder for chaining. |
clearResources()
public ListResourcesResponse.Builder clearResources()List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
clearUnreachable()
public ListResourcesResponse.Builder clearUnreachable()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListResourcesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getResources(int index)
public Resource getResources(int index)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Resource |
|
getResourcesBuilder(int index)
public Resource.Builder getResourcesBuilder(int index)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
getResourcesBuilderList()
public List<Resource.Builder> getResourcesBuilderList()List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getResourcesCount()
public int getResourcesCount()List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getResourcesList()
public List<Resource> getResourcesList()List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Returns | |
|---|---|
| Type | Description |
List<Resource> |
|
getResourcesOrBuilder(int index)
public ResourceOrBuilder getResourcesOrBuilder(int index)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ResourceOrBuilder |
|
getResourcesOrBuilderList()
public List<? extends ResourceOrBuilder> getResourcesOrBuilderList()List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.config.v1.ResourceOrBuilder> |
|
getUnreachable(int index)
public String getUnreachable(int index)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The unreachable at the given index. |
getUnreachableBytes(int index)
public ByteString getUnreachableBytes(int index)Locations that could not be reached.
repeated string unreachable = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the unreachable at the given index. |
getUnreachableCount()
public int getUnreachableCount()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of unreachable. |
getUnreachableList()
public ProtocolStringList getUnreachableList()Locations that could not be reached.
repeated string unreachable = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListResourcesResponse other)
public ListResourcesResponse.Builder mergeFrom(ListResourcesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListResourcesResponse |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListResourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListResourcesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
removeResources(int index)
public ListResourcesResponse.Builder removeResources(int index)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
setNextPageToken(String value)
public ListResourcesResponse.Builder setNextPageToken(String value)A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListResourcesResponse.Builder setNextPageTokenBytes(ByteString value)A token to request the next page of resources from the 'ListResources' method. The value of an empty string means that there are no more resources to return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
This builder for chaining. |
setResources(int index, Resource value)
public ListResourcesResponse.Builder setResources(int index, Resource value)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Resource |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
setResources(int index, Resource.Builder builderForValue)
public ListResourcesResponse.Builder setResources(int index, Resource.Builder builderForValue)List of Resources.
repeated .google.cloud.config.v1.Resource resources = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Resource.Builder |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
|
setUnreachable(int index, String value)
public ListResourcesResponse.Builder setUnreachable(int index, String value)Locations that could not be reached.
repeated string unreachable = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
ListResourcesResponse.Builder |
This builder for chaining. |