public final class ListProjectsResponse extends com.google.protobuf.GeneratedMessageV3 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| Modifier and Type | Class and Description |
|---|---|
static class |
ListProjectsResponse.Builder
A page of the response received from the
[ListProjects][google.cloud.resourcemanager.v3.Projects.ListProjects]
method.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
NEXT_PAGE_TOKEN_FIELD_NUMBER |
static int |
PROJECTS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ListProjectsResponse |
getDefaultInstance() |
ListProjectsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getNextPageToken()
Pagination token.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
Pagination token.
|
com.google.protobuf.Parser<ListProjectsResponse> |
getParserForType() |
Project |
getProjects(int index)
The list of Projects under the parent.
|
int |
getProjectsCount()
The list of Projects under the parent.
|
List<Project> |
getProjectsList()
The list of Projects under the parent.
|
ProjectOrBuilder |
getProjectsOrBuilder(int index)
The list of Projects under the parent.
|
List<? extends ProjectOrBuilder> |
getProjectsOrBuilderList()
The list of Projects under the parent.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListProjectsResponse.Builder |
newBuilder() |
static ListProjectsResponse.Builder |
newBuilder(ListProjectsResponse prototype) |
ListProjectsResponse.Builder |
newBuilderForType() |
protected ListProjectsResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ListProjectsResponse |
parseDelimitedFrom(InputStream input) |
static ListProjectsResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListProjectsResponse |
parseFrom(byte[] data) |
static ListProjectsResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListProjectsResponse |
parseFrom(ByteBuffer data) |
static ListProjectsResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListProjectsResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ListProjectsResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListProjectsResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListProjectsResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListProjectsResponse |
parseFrom(InputStream input) |
static ListProjectsResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListProjectsResponse> |
parser() |
ListProjectsResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PROJECTS_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 ListProjectsResponseOrBuilderpublic 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 ListProjectsResponseOrBuilderpublic 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 ListProjectsResponseOrBuilderpublic 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 ListProjectsResponseOrBuilderpublic 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 ListProjectsResponseOrBuilderpublic 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 ListProjectsResponseOrBuilderpublic 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;getNextPageTokenBytes in interface ListProjectsResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListProjectsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListProjectsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListProjectsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListProjectsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListProjectsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListProjectsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListProjectsResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ListProjectsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListProjectsResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ListProjectsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListProjectsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ListProjectsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ListProjectsResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListProjectsResponse.Builder newBuilder()
public static ListProjectsResponse.Builder newBuilder(ListProjectsResponse prototype)
public ListProjectsResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListProjectsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListProjectsResponse getDefaultInstance()
public static com.google.protobuf.Parser<ListProjectsResponse> parser()
public com.google.protobuf.Parser<ListProjectsResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListProjectsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.