Send feedback
Class SearchOrganizationsRequest (1.15.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.15.0 keyboard_arrow_down
public final class SearchOrganizationsRequest extends GeneratedMessageV3 implements SearchOrganizationsRequestOrBuilder
The request sent to the SearchOrganizations
method.
Protobuf type google.cloud.resourcemanager.v3.SearchOrganizationsRequest
Static Fields
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Field Value Type Description int
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value Type Description int
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static SearchOrganizationsRequest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static SearchOrganizationsRequest . Builder newBuilder ()
newBuilder(SearchOrganizationsRequest prototype)
public static SearchOrganizationsRequest . Builder newBuilder ( SearchOrganizationsRequest prototype )
public static SearchOrganizationsRequest parseDelimitedFrom ( InputStream input )
public static SearchOrganizationsRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static SearchOrganizationsRequest parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchOrganizationsRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static SearchOrganizationsRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchOrganizationsRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static SearchOrganizationsRequest parseFrom ( CodedInputStream input )
public static SearchOrganizationsRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static SearchOrganizationsRequest parseFrom ( InputStream input )
public static SearchOrganizationsRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static SearchOrganizationsRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchOrganizationsRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<SearchOrganizationsRequest> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public SearchOrganizationsRequest getDefaultInstanceForType ()
getPageSize()
Optional. The maximum number of organizations to return in the response.
If unspecified, server picks an appropriate default.
int32 page_size = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description int
The pageSize.
getPageToken()
public String getPageToken ()
Optional. A pagination token returned from a previous call to SearchOrganizations
that indicates from where listing should continue.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description String
The pageToken.
getPageTokenBytes()
public ByteString getPageTokenBytes ()
Optional. A pagination token returned from a previous call to SearchOrganizations
that indicates from where listing should continue.
string page_token = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description ByteString
The bytes for pageToken.
getParserForType()
public Parser<SearchOrganizationsRequest> getParserForType ()
Overrides
getQuery()
Optional. An optional query string used to filter the Organizations to return in
the response. Query rules are case-insensitive.
`
Field Description directoryCustomerId, owner.directoryCustomerId Filters by directory customer id. domain Filters by domain.
Organizations may be queried by
directoryCustomerId or by
domain, where the domain is a G Suite domain, for example:
directorycustomerid:123456789
returns Organization
resources with
owner.directory_customer_id
equal to
123456789
.
Query
domain:google.com
returns Organization resources corresponding
to the domain
google.com`.
string query = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description String
The query.
getQueryBytes()
public ByteString getQueryBytes ()
Optional. An optional query string used to filter the Organizations to return in
the response. Query rules are case-insensitive.
`
Field Description directoryCustomerId, owner.directoryCustomerId Filters by directory customer id. domain Filters by domain.
Organizations may be queried by
directoryCustomerId or by
domain, where the domain is a G Suite domain, for example:
directorycustomerid:123456789
returns Organization
resources with
owner.directory_customer_id
equal to
123456789
.
Query
domain:google.com
returns Organization resources corresponding
to the domain
google.com`.
string query = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns Type Description ByteString
The bytes for query.
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public SearchOrganizationsRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchOrganizationsRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public SearchOrganizationsRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]