public static final class ListProjectsResponse.Builder extends GeneratedMessageV3.Builder<ListProjectsResponse.Builder> implements ListProjectsResponseOrBuilder
A page of the response received from the [ListProjects][google.cloud.resourcemanager.v3.Projects.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
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
public ListProjectsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
public ListProjectsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListProjectsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListProjectsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListProjectsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
public ListProjectsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
public ListProjectsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
public ListProjectsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
public ListProjectsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
public ListProjectsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
public ListProjectsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListProjectsResponse.Builder>
public ListProjectsResponse.Builder mergeFrom(ListProjectsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
public ListProjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListProjectsResponse.Builder>
IOException
public List<Project> getProjectsList()
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
getProjectsList
in interface ListProjectsResponseOrBuilder
public int getProjectsCount()
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
getProjectsCount
in interface ListProjectsResponseOrBuilder
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;
getProjects
in interface ListProjectsResponseOrBuilder
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;
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;
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;
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;
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;
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;
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;
public ListProjectsResponse.Builder clearProjects()
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
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;
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;
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;
getProjectsOrBuilder
in interface ListProjectsResponseOrBuilder
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;
getProjectsOrBuilderList
in interface ListProjectsResponseOrBuilder
public Project.Builder addProjectsBuilder()
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;
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;
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;
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;
getNextPageToken
in interface ListProjectsResponseOrBuilder
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;
getNextPageTokenBytes
in interface ListProjectsResponseOrBuilder
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;
value
- The nextPageToken to set.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;
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;
value
- The bytes for nextPageToken to set.public final ListProjectsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
public final ListProjectsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListProjectsResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.