Class SearchOrganizationsRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsRequest.Builder>
      • getDefaultInstanceForType

        public SearchOrganizationsRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SearchOrganizationsRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SearchOrganizationsRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsRequest.Builder>
      • mergeFrom

        public SearchOrganizationsRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchOrganizationsRequest.Builder>
        Throws:
        IOException
      • getPageSize

        public int 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];
        Specified by:
        getPageSize in interface SearchOrganizationsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public SearchOrganizationsRequest.Builder setPageSize​(int value)
         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];
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public SearchOrganizationsRequest.Builder clearPageSize()
         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:
        This builder for chaining.
      • 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];
        Specified by:
        getPageToken in interface SearchOrganizationsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.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];
        Specified by:
        getPageTokenBytes in interface SearchOrganizationsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        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];
        Parameters:
        value - The pageToken to set.
        Returns:
        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:
        This builder for chaining.
      • setPageTokenBytes

        public SearchOrganizationsRequest.Builder setPageTokenBytes​(com.google.protobuf.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];
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.
      • getQuery

        public String 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:
        
         * 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];
        Specified by:
        getQuery in interface SearchOrganizationsRequestOrBuilder
        Returns:
        The query.
      • getQueryBytes

        public com.google.protobuf.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:
        
         * 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];
        Specified by:
        getQueryBytes in interface SearchOrganizationsRequestOrBuilder
        Returns:
        The bytes for query.
      • setQuery

        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.
        
        
         ```
         | 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:
        
         * 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];
        Parameters:
        value - The query to set.
        Returns:
        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.
        
        
         ```
         | 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:
        
         * 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:
        This builder for chaining.
      • setQueryBytes

        public SearchOrganizationsRequest.Builder setQueryBytes​(com.google.protobuf.ByteString value)
         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:
        
         * 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];
        Parameters:
        value - The bytes for query to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final SearchOrganizationsRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsRequest.Builder>
      • mergeUnknownFields

        public final SearchOrganizationsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchOrganizationsRequest.Builder>