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
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SearchOrganizationsRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SearchOrganizationsRequest.Builder newBuilder()
Returns
newBuilder(SearchOrganizationsRequest prototype)
public static SearchOrganizationsRequest.Builder newBuilder(SearchOrganizationsRequest prototype)
Parameter
Returns
public static SearchOrganizationsRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchOrganizationsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SearchOrganizationsRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SearchOrganizationsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SearchOrganizationsRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SearchOrganizationsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchOrganizationsRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SearchOrganizationsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SearchOrganizationsRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SearchOrganizationsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SearchOrganizationsRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SearchOrganizationsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SearchOrganizationsRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SearchOrganizationsRequest getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<SearchOrganizationsRequest> getParserForType()
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SearchOrganizationsRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SearchOrganizationsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SearchOrganizationsRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions