public static final class SearchProjectsResponse.Builder extends GeneratedMessageV3.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
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<SearchProjectsResponse.Builder>
public SearchProjectsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<SearchProjectsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<SearchProjectsResponse.Builder>
public SearchProjectsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public SearchProjectsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public SearchProjectsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public SearchProjectsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<SearchProjectsResponse.Builder>
public SearchProjectsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<SearchProjectsResponse.Builder>
public SearchProjectsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<SearchProjectsResponse.Builder>
public SearchProjectsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<SearchProjectsResponse.Builder>
public SearchProjectsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<SearchProjectsResponse.Builder>
public SearchProjectsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<SearchProjectsResponse.Builder>
public SearchProjectsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<SearchProjectsResponse.Builder>
public SearchProjectsResponse.Builder mergeFrom(SearchProjectsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<SearchProjectsResponse.Builder>
public SearchProjectsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<SearchProjectsResponse.Builder>
IOException
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;
getProjectsList
in interface SearchProjectsResponseOrBuilder
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;
getProjectsCount
in interface SearchProjectsResponseOrBuilder
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;
getProjects
in interface SearchProjectsResponseOrBuilder
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getProjectsOrBuilder
in interface SearchProjectsResponseOrBuilder
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;
getProjectsOrBuilderList
in interface SearchProjectsResponseOrBuilder
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;
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;
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;
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 SearchProjectsResponseOrBuilder
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 SearchProjectsResponseOrBuilder
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;
value
- The nextPageToken to set.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;
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;
value
- The bytes for nextPageToken to set.public final SearchProjectsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<SearchProjectsResponse.Builder>
public final SearchProjectsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<SearchProjectsResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.