- 1.56.0 (latest)
- 1.55.0
- 1.54.0
- 1.53.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.6
- 1.4.0
- 1.3.2
- 1.2.12
public static final class ListProjectsResponse.Builder extends GeneratedMessageV3.Builder<ListProjectsResponse.Builder> implements ListProjectsResponseOrBuilder
A page of the response received from the ListProjects 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.
NOTE: A response may contain fewer elements than the request page_size
and
still have a next_page_token
.
Protobuf type google.cloud.resourcemanager.v3.ListProjectsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListProjectsResponse.BuilderImplements
ListProjectsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllProjects(Iterable<? extends Project> values)
public ListProjectsResponse.Builder addAllProjects(Iterable<? extends Project> values)
The list of Projects under the parent. 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 |
ListProjectsResponse.Builder |
addProjects(Project value)
public ListProjectsResponse.Builder addProjects(Project value)
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
Parameter | |
---|---|
Name | Description |
value | Project |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
addProjects(Project.Builder builderForValue)
public ListProjectsResponse.Builder addProjects(Project.Builder builderForValue)
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
Parameter | |
---|---|
Name | Description |
builderForValue | Project.Builder |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
addProjects(int index, Project value)
public ListProjectsResponse.Builder addProjects(int index, Project value)
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
Parameters | |
---|---|
Name | Description |
index | int |
value | Project |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
addProjects(int index, Project.Builder builderForValue)
public ListProjectsResponse.Builder addProjects(int index, Project.Builder builderForValue)
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Project.Builder |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
addProjectsBuilder()
public Project.Builder addProjectsBuilder()
The list of Projects under the parent. 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 under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Project.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListProjectsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
build()
public ListProjectsResponse build()
Returns | |
---|---|
Type | Description |
ListProjectsResponse |
buildPartial()
public ListProjectsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListProjectsResponse |
clear()
public ListProjectsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListProjectsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
clearNextPageToken()
public ListProjectsResponse.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 |
ListProjectsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListProjectsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
clearProjects()
public ListProjectsResponse.Builder clearProjects()
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
clone()
public ListProjectsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
getDefaultInstanceForType()
public ListProjectsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListProjectsResponse |
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 under the parent. 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 under the parent. 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 under the parent. 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 under the parent. 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 under the parent. 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 under the parent. 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 under the parent. 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListProjectsResponse other)
public ListProjectsResponse.Builder mergeFrom(ListProjectsResponse other)
Parameter | |
---|---|
Name | Description |
other | ListProjectsResponse |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListProjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListProjectsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListProjectsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
removeProjects(int index)
public ListProjectsResponse.Builder removeProjects(int index)
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListProjectsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
setNextPageToken(String value)
public ListProjectsResponse.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 | String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListProjectsResponse.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 | ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder | This builder for chaining. |
setProjects(int index, Project value)
public ListProjectsResponse.Builder setProjects(int index, Project value)
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
Parameters | |
---|---|
Name | Description |
index | int |
value | Project |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
setProjects(int index, Project.Builder builderForValue)
public ListProjectsResponse.Builder setProjects(int index, Project.Builder builderForValue)
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Project.Builder |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListProjectsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListProjectsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListProjectsResponse.Builder |