Class SearchRelatedAccountGroupMembershipsRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SearchRelatedAccountGroupMembershipsRequest.Builder>
com.google.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, SearchRelatedAccountGroupMembershipsRequestOrBuilder, Cloneable
Enclosing class:
SearchRelatedAccountGroupMembershipsRequest

public static final class SearchRelatedAccountGroupMembershipsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<SearchRelatedAccountGroupMembershipsRequest.Builder> implements SearchRelatedAccountGroupMembershipsRequestOrBuilder
 The request message to search related account group memberships.
 
Protobuf type google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SearchRelatedAccountGroupMembershipsRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public SearchRelatedAccountGroupMembershipsRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchRelatedAccountGroupMembershipsRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public SearchRelatedAccountGroupMembershipsRequest.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<SearchRelatedAccountGroupMembershipsRequest.Builder>
      Throws:
      IOException
    • 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

       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

       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.
    • getAccountId

      public String getAccountId()
       Optional. The unique stable account identifier used to search connections.
       The identifier should correspond to an `account_id` provided in a previous
       `CreateAssessment` or `AnnotateAssessment` call. Either hashed_account_id
       or account_id must be set, but not both.
       
      string account_id = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccountId in interface SearchRelatedAccountGroupMembershipsRequestOrBuilder
      Returns:
      The accountId.
    • getAccountIdBytes

      public com.google.protobuf.ByteString getAccountIdBytes()
       Optional. The unique stable account identifier used to search connections.
       The identifier should correspond to an `account_id` provided in a previous
       `CreateAssessment` or `AnnotateAssessment` call. Either hashed_account_id
       or account_id must be set, but not both.
       
      string account_id = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAccountIdBytes in interface SearchRelatedAccountGroupMembershipsRequestOrBuilder
      Returns:
      The bytes for accountId.
    • setAccountId

       Optional. The unique stable account identifier used to search connections.
       The identifier should correspond to an `account_id` provided in a previous
       `CreateAssessment` or `AnnotateAssessment` call. Either hashed_account_id
       or account_id must be set, but not both.
       
      string account_id = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The accountId to set.
      Returns:
      This builder for chaining.
    • clearAccountId

       Optional. The unique stable account identifier used to search connections.
       The identifier should correspond to an `account_id` provided in a previous
       `CreateAssessment` or `AnnotateAssessment` call. Either hashed_account_id
       or account_id must be set, but not both.
       
      string account_id = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setAccountIdBytes

      public SearchRelatedAccountGroupMembershipsRequest.Builder setAccountIdBytes(com.google.protobuf.ByteString value)
       Optional. The unique stable account identifier used to search connections.
       The identifier should correspond to an `account_id` provided in a previous
       `CreateAssessment` or `AnnotateAssessment` call. Either hashed_account_id
       or account_id must be set, but not both.
       
      string account_id = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for accountId to set.
      Returns:
      This builder for chaining.
    • getHashedAccountId

      @Deprecated public com.google.protobuf.ByteString getHashedAccountId()
      Deprecated.
      google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=2120
       Optional. Deprecated: use `account_id` instead.
       The unique stable hashed account identifier used to search connections. The
       identifier should correspond to a `hashed_account_id` provided in a
       previous `CreateAssessment` or `AnnotateAssessment` call. Either
       hashed_account_id or account_id must be set, but not both.
       
      bytes hashed_account_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getHashedAccountId in interface SearchRelatedAccountGroupMembershipsRequestOrBuilder
      Returns:
      The hashedAccountId.
    • setHashedAccountId

      @Deprecated public SearchRelatedAccountGroupMembershipsRequest.Builder setHashedAccountId(com.google.protobuf.ByteString value)
      Deprecated.
      google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=2120
       Optional. Deprecated: use `account_id` instead.
       The unique stable hashed account identifier used to search connections. The
       identifier should correspond to a `hashed_account_id` provided in a
       previous `CreateAssessment` or `AnnotateAssessment` call. Either
       hashed_account_id or account_id must be set, but not both.
       
      bytes hashed_account_id = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The hashedAccountId to set.
      Returns:
      This builder for chaining.
    • clearHashedAccountId

      Deprecated.
      google.cloud.recaptchaenterprise.v1.SearchRelatedAccountGroupMembershipsRequest.hashed_account_id is deprecated. See google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto;l=2120
       Optional. Deprecated: use `account_id` instead.
       The unique stable hashed account identifier used to search connections. The
       identifier should correspond to a `hashed_account_id` provided in a
       previous `CreateAssessment` or `AnnotateAssessment` call. Either
       hashed_account_id or account_id must be set, but not both.
       
      bytes hashed_account_id = 2 [deprecated = true, (.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

       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

       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

       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

       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.