Class SearchRelatedAccountGroupMembershipsRequest.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<SearchRelatedAccountGroupMembershipsRequest.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<SearchRelatedAccountGroupMembershipsRequest.Builder>
      • getDefaultInstanceForType

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

        public SearchRelatedAccountGroupMembershipsRequest 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<SearchRelatedAccountGroupMembershipsRequest.Builder>
      • getProject

        public String getProject()
         Required. The name of the project to search related account group
         memberships from. Specify the project name in the following format:
         "projects/{project}".
         
        string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getProject in interface SearchRelatedAccountGroupMembershipsRequestOrBuilder
        Returns:
        The project.
      • getProjectBytes

        public com.google.protobuf.ByteString getProjectBytes()
         Required. The name of the project to search related account group
         memberships from. Specify the project name in the following format:
         "projects/{project}".
         
        string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getProjectBytes in interface SearchRelatedAccountGroupMembershipsRequestOrBuilder
        Returns:
        The bytes for project.
      • setProject

        public SearchRelatedAccountGroupMembershipsRequest.Builder setProject​(String value)
         Required. The name of the project to search related account group
         memberships from. Specify the project name in the following format:
         "projects/{project}".
         
        string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The project to set.
        Returns:
        This builder for chaining.
      • clearProject

        public SearchRelatedAccountGroupMembershipsRequest.Builder clearProject()
         Required. The name of the project to search related account group
         memberships from. Specify the project name in the following format:
         "projects/{project}".
         
        string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setProjectBytes

        public SearchRelatedAccountGroupMembershipsRequest.Builder setProjectBytes​(com.google.protobuf.ByteString value)
         Required. The name of the project to search related account group
         memberships from. Specify the project name in the following format:
         "projects/{project}".
         
        string project = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for project to set.
        Returns:
        This builder for chaining.
      • getHashedAccountId

        public com.google.protobuf.ByteString getHashedAccountId()
         Optional. The unique stable hashed user identifier we should search
         connections to. The identifier should correspond to a `hashed_account_id`
         provided in a previous `CreateAssessment` or `AnnotateAssessment` call.
         
        bytes hashed_account_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getHashedAccountId in interface SearchRelatedAccountGroupMembershipsRequestOrBuilder
        Returns:
        The hashedAccountId.
      • setHashedAccountId

        public SearchRelatedAccountGroupMembershipsRequest.Builder setHashedAccountId​(com.google.protobuf.ByteString value)
         Optional. The unique stable hashed user identifier we should search
         connections to. The identifier should correspond to a `hashed_account_id`
         provided in a previous `CreateAssessment` or `AnnotateAssessment` call.
         
        bytes hashed_account_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The hashedAccountId to set.
        Returns:
        This builder for chaining.
      • clearHashedAccountId

        public SearchRelatedAccountGroupMembershipsRequest.Builder clearHashedAccountId()
         Optional. The unique stable hashed user identifier we should search
         connections to. The identifier should correspond to a `hashed_account_id`
         provided in a previous `CreateAssessment` or `AnnotateAssessment` call.
         
        bytes hashed_account_id = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getPageSize

        public int getPageSize()
         Optional. The maximum number of groups to return. The service might return
         fewer than this value. If unspecified, at most 50 groups are returned. The
         maximum value is 1000; values above 1000 are coerced to 1000.
         
        int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageSize in interface SearchRelatedAccountGroupMembershipsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public SearchRelatedAccountGroupMembershipsRequest.Builder setPageSize​(int value)
         Optional. The maximum number of groups to return. The service might return
         fewer than this value. If unspecified, at most 50 groups are returned. The
         maximum value is 1000; values above 1000 are coerced to 1000.
         
        int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The pageSize to set.
        Returns:
        This builder for chaining.
      • clearPageSize

        public SearchRelatedAccountGroupMembershipsRequest.Builder clearPageSize()
         Optional. The maximum number of groups to return. The service might return
         fewer than this value. If unspecified, at most 50 groups are returned. The
         maximum value is 1000; values above 1000 are coerced to 1000.
         
        int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getPageToken

        public String getPageToken()
         Optional. A page token, received from a previous
         `SearchRelatedAccountGroupMemberships` call. Provide this to retrieve the
         subsequent page.
        
         When paginating, all other parameters provided to
         `SearchRelatedAccountGroupMemberships` must match the call that provided
         the page token.
         
        string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageToken in interface SearchRelatedAccountGroupMembershipsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

        public com.google.protobuf.ByteString getPageTokenBytes()
         Optional. A page token, received from a previous
         `SearchRelatedAccountGroupMemberships` call. Provide this to retrieve the
         subsequent page.
        
         When paginating, all other parameters provided to
         `SearchRelatedAccountGroupMemberships` must match the call that provided
         the page token.
         
        string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageTokenBytes in interface SearchRelatedAccountGroupMembershipsRequestOrBuilder
        Returns:
        The bytes for pageToken.
      • setPageToken

        public SearchRelatedAccountGroupMembershipsRequest.Builder setPageToken​(String value)
         Optional. A page token, received from a previous
         `SearchRelatedAccountGroupMemberships` call. Provide this to retrieve the
         subsequent page.
        
         When paginating, all other parameters provided to
         `SearchRelatedAccountGroupMemberships` must match the call that provided
         the page token.
         
        string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The pageToken to set.
        Returns:
        This builder for chaining.
      • clearPageToken

        public SearchRelatedAccountGroupMembershipsRequest.Builder clearPageToken()
         Optional. A page token, received from a previous
         `SearchRelatedAccountGroupMemberships` call. Provide this to retrieve the
         subsequent page.
        
         When paginating, all other parameters provided to
         `SearchRelatedAccountGroupMemberships` must match the call that provided
         the page token.
         
        string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setPageTokenBytes

        public SearchRelatedAccountGroupMembershipsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         Optional. A page token, received from a previous
         `SearchRelatedAccountGroupMemberships` call. Provide this to retrieve the
         subsequent page.
        
         When paginating, all other parameters provided to
         `SearchRelatedAccountGroupMemberships` must match the call that provided
         the page token.
         
        string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for pageToken to set.
        Returns:
        This builder for chaining.