Class ListFoldersResponse (1.22.0)

public final class ListFoldersResponse extends GeneratedMessageV3 implements ListFoldersResponseOrBuilder

The ListFolders response message.

Protobuf type google.cloud.resourcemanager.v3.ListFoldersResponse

Static Fields

FOLDERS_FIELD_NUMBER

public static final int FOLDERS_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListFoldersResponse getDefaultInstance()
Returns
TypeDescription
ListFoldersResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListFoldersResponse.Builder newBuilder()
Returns
TypeDescription
ListFoldersResponse.Builder

newBuilder(ListFoldersResponse prototype)

public static ListFoldersResponse.Builder newBuilder(ListFoldersResponse prototype)
Parameter
NameDescription
prototypeListFoldersResponse
Returns
TypeDescription
ListFoldersResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListFoldersResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListFoldersResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListFoldersResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListFoldersResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListFoldersResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListFoldersResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListFoldersResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListFoldersResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListFoldersResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListFoldersResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListFoldersResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListFoldersResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFoldersResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListFoldersResponse> parser()
Returns
TypeDescription
Parser<ListFoldersResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListFoldersResponse getDefaultInstanceForType()
Returns
TypeDescription
ListFoldersResponse

getFolders(int index)

public Folder getFolders(int index)

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Folder

getFoldersCount()

public int getFoldersCount()

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Returns
TypeDescription
int

getFoldersList()

public List<Folder> getFoldersList()

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Returns
TypeDescription
List<Folder>

getFoldersOrBuilder(int index)

public FolderOrBuilder getFoldersOrBuilder(int index)

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FolderOrBuilder

getFoldersOrBuilderList()

public List<? extends FolderOrBuilder> getFoldersOrBuilderList()

A possibly paginated list of folders that are direct descendants of the specified parent resource.

repeated .google.cloud.resourcemanager.v3.Folder folders = 1;

Returns
TypeDescription
List<? extends com.google.cloud.resourcemanager.v3.FolderOrBuilder>

getNextPageToken()

public String getNextPageToken()

A pagination token returned from a previous call to ListFolders that indicates from where listing should continue.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A pagination token returned from a previous call to ListFolders that indicates from where listing should continue.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListFoldersResponse> getParserForType()
Returns
TypeDescription
Parser<ListFoldersResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListFoldersResponse.Builder newBuilderForType()
Returns
TypeDescription
ListFoldersResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListFoldersResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListFoldersResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListFoldersResponse.Builder toBuilder()
Returns
TypeDescription
ListFoldersResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException