Class SearchOrganizationsResponse (1.51.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
Type Description
int

ORGANIZATIONS_FIELD_NUMBER

public static final int ORGANIZATIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SearchOrganizationsResponse getDefaultInstance()
Returns
Type Description
SearchOrganizationsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SearchOrganizationsResponse.Builder newBuilder()
Returns
Type Description
SearchOrganizationsResponse.Builder

newBuilder(SearchOrganizationsResponse prototype)

public static SearchOrganizationsResponse.Builder newBuilder(SearchOrganizationsResponse prototype)
Parameter
Name Description
prototype SearchOrganizationsResponse
Returns
Type Description
SearchOrganizationsResponse.Builder

parseDelimitedFrom(InputStream input)

public static SearchOrganizationsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchOrganizationsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SearchOrganizationsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchOrganizationsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchOrganizationsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchOrganizationsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchOrganizationsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchOrganizationsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SearchOrganizationsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchOrganizationsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SearchOrganizationsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchOrganizationsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SearchOrganizationsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SearchOrganizationsResponse> parser()
Returns
Type Description
Parser<SearchOrganizationsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SearchOrganizationsResponse getDefaultInstanceForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.resourcemanager.v3.OrganizationOrBuilder>

getParserForType()

public Parser<SearchOrganizationsResponse> getParserForType()
Returns
Type Description
Parser<SearchOrganizationsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SearchOrganizationsResponse.Builder newBuilderForType()
Returns
Type Description
SearchOrganizationsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchOrganizationsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SearchOrganizationsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SearchOrganizationsResponse.Builder toBuilder()
Returns
Type Description
SearchOrganizationsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException