Class SearchProjectsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchProjectsResponse.Builder>
com.google.cloud.resourcemanager.v3.SearchProjectsResponse.Builder
- All Implemented Interfaces:
SearchProjectsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SearchProjectsResponse
public static final class SearchProjectsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SearchProjectsResponse.Builder>
implements SearchProjectsResponseOrBuilder
A page of the response received from the [SearchProjects][google.cloud.resourcemanager.v3.Projects.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllProjects(Iterable<? extends Project> values) The list of Projects that matched the list filter query.addProjects(int index, Project value) The list of Projects that matched the list filter query.addProjects(int index, Project.Builder builderForValue) The list of Projects that matched the list filter query.addProjects(Project value) The list of Projects that matched the list filter query.addProjects(Project.Builder builderForValue) The list of Projects that matched the list filter query.The list of Projects that matched the list filter query.addProjectsBuilder(int index) The list of Projects that matched the list filter query.build()clear()Pagination token.The list of Projects that matched the list filter query.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorPagination token.com.google.protobuf.ByteStringPagination token.getProjects(int index) The list of Projects that matched the list filter query.getProjectsBuilder(int index) The list of Projects that matched the list filter query.The list of Projects that matched the list filter query.intThe list of Projects that matched the list filter query.The list of Projects that matched the list filter query.getProjectsOrBuilder(int index) The list of Projects that matched the list filter query.List<? extends ProjectOrBuilder>The list of Projects that matched the list filter query.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SearchProjectsResponse 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 that matched the list filter query.setNextPageToken(String value) Pagination token.setNextPageTokenBytes(com.google.protobuf.ByteString value) Pagination token.setProjects(int index, Project value) The list of Projects that matched the list filter query.setProjects(int index, Project.Builder builderForValue) The list of Projects that matched the list filter query.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<SearchProjectsResponse.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<SearchProjectsResponse.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<SearchProjectsResponse.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<SearchProjectsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SearchProjectsResponse.Builder>
-
mergeFrom
public SearchProjectsResponse.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<SearchProjectsResponse.Builder>- Throws:
IOException
-
getProjectsList
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;- Specified by:
getProjectsListin interfaceSearchProjectsResponseOrBuilder
-
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;- Specified by:
getProjectsCountin interfaceSearchProjectsResponseOrBuilder
-
getProjects
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;- Specified by:
getProjectsin interfaceSearchProjectsResponseOrBuilder
-
setProjects
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
setProjects
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addProjects
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addProjects
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addProjects
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addProjects
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addAllProjects
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
clearProjects
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
removeProjects
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
getProjectsBuilder
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
getProjectsOrBuilder
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;- Specified by:
getProjectsOrBuilderin interfaceSearchProjectsResponseOrBuilder
-
getProjectsOrBuilderList
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1;- Specified by:
getProjectsOrBuilderListin interfaceSearchProjectsResponseOrBuilder
-
addProjectsBuilder
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
addProjectsBuilder
The list of Projects that matched the list filter query. This list can be paginated.
repeated .google.cloud.resourcemanager.v3.Project projects = 1; -
getProjectsBuilderList
The list of Projects that matched the list filter query. 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 interfaceSearchProjectsResponseOrBuilder- 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 interfaceSearchProjectsResponseOrBuilder- 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.
-