Class SearchFoldersResponse (1.11.0)

public final class SearchFoldersResponse extends GeneratedMessageV3 implements SearchFoldersResponseOrBuilder

The response message for searching folders.

Protobuf type google.cloud.resourcemanager.v3.SearchFoldersResponse

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 SearchFoldersResponse getDefaultInstance()
Returns
TypeDescription
SearchFoldersResponse

getDescriptor()

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

newBuilder()

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

newBuilder(SearchFoldersResponse prototype)

public static SearchFoldersResponse.Builder newBuilder(SearchFoldersResponse prototype)
Parameter
NameDescription
prototypeSearchFoldersResponse
Returns
TypeDescription
SearchFoldersResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SearchFoldersResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchFoldersResponse

getFolders(int index)

public Folder getFolders(int index)

A possibly paginated folder search results. 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 folder search results. the specified parent resource.

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

Returns
TypeDescription
int

getFoldersList()

public List<Folder> getFoldersList()

A possibly paginated folder search results. 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 folder search results. 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 folder search results. 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 SearchFolders that indicates from where searching 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 SearchFolders that indicates from where searching should continue.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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 SearchFoldersResponse.Builder newBuilderForType()
Returns
TypeDescription
SearchFoldersResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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