public final class SearchOrganizationsRequest extends GeneratedMessageV3 implements SearchOrganizationsRequestOrBuilder
The request sent to the SearchOrganizations
method.
Protobuf type google.cloud.resourcemanager.v3.SearchOrganizationsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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.
The server can return fewer organizations than requested. 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
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