Class SearchOrganizationsResponse (1.35.0)

public final class SearchOrganizationsResponse extends GeneratedMessageV3 implements SearchOrganizationsResponseOrBuilder

The response returned from the SearchOrganizations method.

Protobuf type google.cloud.resourcemanager.v3.SearchOrganizationsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

ORGANIZATIONS_FIELD_NUMBER

public static final int ORGANIZATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SearchOrganizationsResponse getDefaultInstance()
Returns
TypeDescription
SearchOrganizationsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(SearchOrganizationsResponse prototype)

public static SearchOrganizationsResponse.Builder newBuilder(SearchOrganizationsResponse prototype)
Parameter
NameDescription
prototypeSearchOrganizationsResponse
Returns
TypeDescription
SearchOrganizationsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SearchOrganizationsResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchOrganizationsResponse

getNextPageToken()

public String getNextPageToken()

A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A pagination token to be used to retrieve the next page of results. If the result is too large to fit within the page size specified in the request, this field will be set with a token that can be used to fetch the next page of results. If this field is empty, it indicates that this response contains the last page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOrganizations(int index)

public Organization getOrganizations(int index)

The list of Organizations that matched the search query, possibly paginated.

repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Organization

getOrganizationsCount()

public int getOrganizationsCount()

The list of Organizations that matched the search query, possibly paginated.

repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;

Returns
TypeDescription
int

getOrganizationsList()

public List<Organization> getOrganizationsList()

The list of Organizations that matched the search query, possibly paginated.

repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;

Returns
TypeDescription
List<Organization>

getOrganizationsOrBuilder(int index)

public OrganizationOrBuilder getOrganizationsOrBuilder(int index)

The list of Organizations that matched the search query, possibly paginated.

repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OrganizationOrBuilder

getOrganizationsOrBuilderList()

public List<? extends OrganizationOrBuilder> getOrganizationsOrBuilderList()

The list of Organizations that matched the search query, possibly paginated.

repeated .google.cloud.resourcemanager.v3.Organization organizations = 1;

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

getParserForType()

public Parser<SearchOrganizationsResponse> getParserForType()
Returns
TypeDescription
Parser<SearchOrganizationsResponse>
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 SearchOrganizationsResponse.Builder newBuilderForType()
Returns
TypeDescription
SearchOrganizationsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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