Class SearchOrganizationsRequest.Builder (1.16.0)

public static final class SearchOrganizationsRequest.Builder extends GeneratedMessageV3.Builder<SearchOrganizationsRequest.Builder> implements SearchOrganizationsRequestOrBuilder

The request sent to the SearchOrganizations method.

Protobuf type google.cloud.resourcemanager.v3.SearchOrganizationsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchOrganizationsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchOrganizationsRequest.Builder
Overrides

build()

public SearchOrganizationsRequest build()
Returns
TypeDescription
SearchOrganizationsRequest

buildPartial()

public SearchOrganizationsRequest buildPartial()
Returns
TypeDescription
SearchOrganizationsRequest

clear()

public SearchOrganizationsRequest.Builder clear()
Returns
TypeDescription
SearchOrganizationsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SearchOrganizationsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchOrganizationsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchOrganizationsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchOrganizationsRequest.Builder
Overrides

clearPageSize()

public SearchOrganizationsRequest.Builder clearPageSize()

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
SearchOrganizationsRequest.Builder

This builder for chaining.

clearPageToken()

public SearchOrganizationsRequest.Builder clearPageToken()

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
SearchOrganizationsRequest.Builder

This builder for chaining.

clearQuery()

public SearchOrganizationsRequest.Builder clearQuery()

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
    SearchOrganizationsRequest.Builder

    This builder for chaining.

    clone()

    public SearchOrganizationsRequest.Builder clone()
    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder
    Overrides

    getDefaultInstanceForType()

    public SearchOrganizationsRequest getDefaultInstanceForType()
    Returns
    TypeDescription
    SearchOrganizationsRequest

    getDescriptorForType()

    public Descriptors.Descriptor getDescriptorForType()
    Returns
    TypeDescription
    Descriptor
    Overrides

    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.

    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.

    internalGetFieldAccessorTable()

    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
    Returns
    TypeDescription
    FieldAccessorTable
    Overrides

    isInitialized()

    public final boolean isInitialized()
    Returns
    TypeDescription
    boolean
    Overrides

    mergeFrom(SearchOrganizationsRequest other)

    public SearchOrganizationsRequest.Builder mergeFrom(SearchOrganizationsRequest other)
    Parameter
    NameDescription
    otherSearchOrganizationsRequest
    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder

    mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

    public SearchOrganizationsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
    Parameters
    NameDescription
    inputCodedInputStream
    extensionRegistryExtensionRegistryLite
    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder
    Overrides
    Exceptions
    TypeDescription
    IOException

    mergeFrom(Message other)

    public SearchOrganizationsRequest.Builder mergeFrom(Message other)
    Parameter
    NameDescription
    otherMessage
    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder
    Overrides

    mergeUnknownFields(UnknownFieldSet unknownFields)

    public final SearchOrganizationsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
    Parameter
    NameDescription
    unknownFieldsUnknownFieldSet
    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder
    Overrides

    setField(Descriptors.FieldDescriptor field, Object value)

    public SearchOrganizationsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
    Parameters
    NameDescription
    fieldFieldDescriptor
    valueObject
    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder
    Overrides

    setPageSize(int value)

    public SearchOrganizationsRequest.Builder setPageSize(int value)

    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];

    Parameter
    NameDescription
    valueint

    The pageSize to set.

    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder

    This builder for chaining.

    setPageToken(String value)

    public SearchOrganizationsRequest.Builder setPageToken(String value)

    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];

    Parameter
    NameDescription
    valueString

    The pageToken to set.

    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder

    This builder for chaining.

    setPageTokenBytes(ByteString value)

    public SearchOrganizationsRequest.Builder setPageTokenBytes(ByteString value)

    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];

    Parameter
    NameDescription
    valueByteString

    The bytes for pageToken to set.

    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder

    This builder for chaining.

    setQuery(String value)

    public SearchOrganizationsRequest.Builder setQuery(String value)

    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];

    Parameter
    NameDescription
    valueString

    The query to set.

    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder

    This builder for chaining.

    setQueryBytes(ByteString value)

    public SearchOrganizationsRequest.Builder setQueryBytes(ByteString value)

    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];

    Parameter
    NameDescription
    valueByteString

    The bytes for query to set.

    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder

    This builder for chaining.

    setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

    public SearchOrganizationsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
    Parameters
    NameDescription
    fieldFieldDescriptor
    indexint
    valueObject
    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder
    Overrides

    setUnknownFields(UnknownFieldSet unknownFields)

    public final SearchOrganizationsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
    Parameter
    NameDescription
    unknownFieldsUnknownFieldSet
    Returns
    TypeDescription
    SearchOrganizationsRequest.Builder
    Overrides