Class SearchOrganizationsRequest (1.5.4)

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
TypeDescription
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

QUERY_FIELD_NUMBER

public static final int QUERY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SearchOrganizationsRequest getDefaultInstance()
Returns
TypeDescription
SearchOrganizationsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(SearchOrganizationsRequest prototype)

public static SearchOrganizationsRequest.Builder newBuilder(SearchOrganizationsRequest prototype)
Parameter
NameDescription
prototypeSearchOrganizationsRequest
Returns
TypeDescription
SearchOrganizationsRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SearchOrganizationsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchOrganizationsRequest

getPageSize()

public int 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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pageToken.

getParserForType()

public Parser<SearchOrganizationsRequest> getParserForType()
Returns
TypeDescription
Parser<SearchOrganizationsRequest>
Overrides

getQuery()

public String getQuery()

Optional. An optional query string used to filter the Organizations to return in the response. Query rules are case-insensitive. `

FieldDescription
directoryCustomerId, owner.directoryCustomerIdFilters by directory
customer id.
domainFilters by domain.

Organizations may be queried by directoryCustomerId or by domain, where the domain is a G Suite domain, for example:

  • Query
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
    TypeDescription
    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. `

    FieldDescription
    directoryCustomerId, owner.directoryCustomerIdFilters by directory
    customer id.
    domainFilters by domain.

    Organizations may be queried by directoryCustomerId or by domain, where the domain is a G Suite domain, for example:

    • Query
    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
    TypeDescription
    ByteString

    The bytes for query.

    getSerializedSize()

    public int getSerializedSize()
    Returns
    TypeDescription
    int
    Overrides

    getUnknownFields()

    public final UnknownFieldSet getUnknownFields()
    Returns
    TypeDescription
    UnknownFieldSet
    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 SearchOrganizationsRequest.Builder newBuilderForType()
    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder

    newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

    newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

    toBuilder()

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

    writeTo(CodedOutputStream output)

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