Class ListProjectsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListProjectsResponse.Builder>
com.google.cloud.resourcemanager.v3.ListProjectsResponse.Builder
- All Implemented Interfaces:
ListProjectsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListProjectsResponse
public static final class ListProjectsResponse.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllProjects(Iterable<? extends Project> values) The list of Projects under the parent.addProjects(int index, Project value) The list of Projects under the parent.addProjects(int index, Project.Builder builderForValue) The list of Projects under the parent.addProjects(Project value) The list of Projects under the parent.addProjects(Project.Builder builderForValue) The list of Projects under the parent.The list of Projects under the parent.addProjectsBuilder(int index) The list of Projects under the parent.build()clear()Pagination token.The list of Projects under the parent.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorPagination token.com.google.protobuf.ByteStringPagination token.getProjects(int index) The list of Projects under the parent.getProjectsBuilder(int index) The list of Projects under the parent.The list of Projects under the parent.intThe list of Projects under the parent.The list of Projects under the parent.getProjectsOrBuilder(int index) The list of Projects under the parent.List<? extends ProjectOrBuilder>The list of Projects under the parent.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListProjectsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeProjects(int index) The list of Projects under the parent.setNextPageToken(String value) Pagination token.setNextPageTokenBytes(com.google.protobuf.ByteString value) Pagination token.setProjects(int index, Project value) The list of Projects under the parent.setProjects(int index, Project.Builder builderForValue) The list of Projects under the parent.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListProjectsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListProjectsResponse.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.GeneratedMessage.Builder<ListProjectsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListProjectsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListProjectsResponse.Builder>
-
mergeFrom
public ListProjectsResponse.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<ListProjectsResponse.Builder>- Throws:
IOException
-
getProjectsList
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;- Specified by:
getProjectsListin interfaceListProjectsResponseOrBuilder
-
getProjectsCount
public int getProjectsCount()The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;- Specified by:
getProjectsCountin interfaceListProjectsResponseOrBuilder
-
getProjects
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;- Specified by:
getProjectsin interfaceListProjectsResponseOrBuilder
-
setProjects
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
setProjects
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addProjects
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addProjects
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addProjects
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addProjects
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addAllProjects
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
clearProjects
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
removeProjects
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
getProjectsBuilder
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
getProjectsOrBuilder
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;- Specified by:
getProjectsOrBuilderin interfaceListProjectsResponseOrBuilder
-
getProjectsOrBuilderList
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;- Specified by:
getProjectsOrBuilderListin interfaceListProjectsResponseOrBuilder
-
addProjectsBuilder
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addProjectsBuilder
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
getProjectsBuilderList
The list of Projects under the parent. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
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;- Specified by:
getNextPageTokenin interfaceListProjectsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;- Specified by:
getNextPageTokenBytesin interfaceListProjectsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-