public static final class SearchProjectsResponse.Builder extends GeneratedMessage.Builder<SearchProjectsResponse.Builder> implements SearchProjectsResponseOrBuilderA page of the response received from the SearchProjects method.
A paginated response where more pages are available has
next_page_token set. This token can be used in a subsequent request to
retrieve the next request page.
Protobuf type google.cloud.resourcemanager.v3.SearchProjectsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchProjectsResponse.BuilderImplements
SearchProjectsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllProjects(Iterable<? extends Project> values)
public SearchProjectsResponse.Builder addAllProjects(Iterable<? extends Project> values)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.resourcemanager.v3.Project> |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
addProjects(Project value)
public SearchProjectsResponse.Builder addProjects(Project value)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Project |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
addProjects(Project.Builder builderForValue)
public SearchProjectsResponse.Builder addProjects(Project.Builder builderForValue)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Project.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
addProjects(int index, Project value)
public SearchProjectsResponse.Builder addProjects(int index, Project value)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Project |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
addProjects(int index, Project.Builder builderForValue)
public SearchProjectsResponse.Builder addProjects(int index, Project.Builder builderForValue)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Project.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
addProjectsBuilder()
public Project.Builder addProjectsBuilder()The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
addProjectsBuilder(int index)
public Project.Builder addProjectsBuilder(int index)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
build()
public SearchProjectsResponse build()| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse |
|
buildPartial()
public SearchProjectsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse |
|
clear()
public SearchProjectsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
clearNextPageToken()
public SearchProjectsResponse.Builder clearNextPageToken()Pagination token.
If the result set is too large to fit in a single response, this token
is returned. It encodes the position of the current result cursor.
Feeding this value into a new list request with the page_token parameter
gives the next page of the results.
When next_page_token is not filled in, there is no next page and
the list returned is the last page in the result set.
Pagination tokens have a limited lifetime.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
This builder for chaining. |
clearProjects()
public SearchProjectsResponse.Builder clearProjects()The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
getDefaultInstanceForType()
public SearchProjectsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()Pagination token.
If the result set is too large to fit in a single response, this token
is returned. It encodes the position of the current result cursor.
Feeding this value into a new list request with the page_token parameter
gives the next page of the results.
When next_page_token is not filled in, there is no next page and
the list returned is the last page in the result set.
Pagination tokens have a limited lifetime.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()Pagination token.
If the result set is too large to fit in a single response, this token
is returned. It encodes the position of the current result cursor.
Feeding this value into a new list request with the page_token parameter
gives the next page of the results.
When next_page_token is not filled in, there is no next page and
the list returned is the last page in the result set.
Pagination tokens have a limited lifetime.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getProjects(int index)
public Project getProjects(int index)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Project |
|
getProjectsBuilder(int index)
public Project.Builder getProjectsBuilder(int index)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Project.Builder |
|
getProjectsBuilderList()
public List<Project.Builder> getProjectsBuilderList()The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getProjectsCount()
public int getProjectsCount()The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getProjectsList()
public List<Project> getProjectsList()The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Returns | |
|---|---|
| Type | Description |
List<Project> |
|
getProjectsOrBuilder(int index)
public ProjectOrBuilder getProjectsOrBuilder(int index)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ProjectOrBuilder |
|
getProjectsOrBuilderList()
public List<? extends ProjectOrBuilder> getProjectsOrBuilderList()The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.resourcemanager.v3.ProjectOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SearchProjectsResponse other)
public SearchProjectsResponse.Builder mergeFrom(SearchProjectsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchProjectsResponse |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchProjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchProjectsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
removeProjects(int index)
public SearchProjectsResponse.Builder removeProjects(int index)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
setNextPageToken(String value)
public SearchProjectsResponse.Builder setNextPageToken(String value)Pagination token.
If the result set is too large to fit in a single response, this token
is returned. It encodes the position of the current result cursor.
Feeding this value into a new list request with the page_token parameter
gives the next page of the results.
When next_page_token is not filled in, there is no next page and
the list returned is the last page in the result set.
Pagination tokens have a limited lifetime.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public SearchProjectsResponse.Builder setNextPageTokenBytes(ByteString value)Pagination token.
If the result set is too large to fit in a single response, this token
is returned. It encodes the position of the current result cursor.
Feeding this value into a new list request with the page_token parameter
gives the next page of the results.
When next_page_token is not filled in, there is no next page and
the list returned is the last page in the result set.
Pagination tokens have a limited lifetime.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
This builder for chaining. |
setProjects(int index, Project value)
public SearchProjectsResponse.Builder setProjects(int index, Project value)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Project |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|
setProjects(int index, Project.Builder builderForValue)
public SearchProjectsResponse.Builder setProjects(int index, Project.Builder builderForValue)The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Project.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchProjectsResponse.Builder |
|