Class ListSubscribersRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListSubscribersRequest.Builder>
com.google.cloud.channel.v1.ListSubscribersRequest.Builder
All Implemented Interfaces:
ListSubscribersRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListSubscribersRequest

public static final class ListSubscribersRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListSubscribersRequest.Builder> implements ListSubscribersRequestOrBuilder
 Request Message for ListSubscribers.
 
Protobuf type google.cloud.channel.v1.ListSubscribersRequest
  • 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<ListSubscribersRequest.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<ListSubscribersRequest.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<ListSubscribersRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public ListSubscribersRequest.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<ListSubscribersRequest.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<ListSubscribersRequest.Builder>
    • mergeFrom

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

      public String getAccount()
       Optional. Resource name of the account. Required if integrator is not
       provided. Otherwise, leave this field empty/unset.
       
      string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAccount in interface ListSubscribersRequestOrBuilder
      Returns:
      The account.
    • getAccountBytes

      public com.google.protobuf.ByteString getAccountBytes()
       Optional. Resource name of the account. Required if integrator is not
       provided. Otherwise, leave this field empty/unset.
       
      string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Specified by:
      getAccountBytes in interface ListSubscribersRequestOrBuilder
      Returns:
      The bytes for account.
    • setAccount

      public ListSubscribersRequest.Builder setAccount(String value)
       Optional. Resource name of the account. Required if integrator is not
       provided. Otherwise, leave this field empty/unset.
       
      string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The account to set.
      Returns:
      This builder for chaining.
    • clearAccount

      public ListSubscribersRequest.Builder clearAccount()
       Optional. Resource name of the account. Required if integrator is not
       provided. Otherwise, leave this field empty/unset.
       
      string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setAccountBytes

      public ListSubscribersRequest.Builder setAccountBytes(com.google.protobuf.ByteString value)
       Optional. Resource name of the account. Required if integrator is not
       provided. Otherwise, leave this field empty/unset.
       
      string account = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for account to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Optional. The maximum number of service accounts to return. The service may
       return fewer than this value. If unspecified, returns at most 100 service
       accounts. The maximum value is 1000; the server will coerce values above
       1000.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageSize in interface ListSubscribersRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListSubscribersRequest.Builder setPageSize(int value)
       Optional. The maximum number of service accounts to return. The service may
       return fewer than this value. If unspecified, returns at most 100 service
       accounts. The maximum value is 1000; the server will coerce values above
       1000.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListSubscribersRequest.Builder clearPageSize()
       Optional. The maximum number of service accounts to return. The service may
       return fewer than this value. If unspecified, returns at most 100 service
       accounts. The maximum value is 1000; the server will coerce values above
       1000.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPageToken

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

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

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

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

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

      public boolean hasIntegrator()
       Optional. Resource name of the integrator. Required if account is not
       provided. Otherwise, leave this field empty/unset.
       
      optional string integrator = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasIntegrator in interface ListSubscribersRequestOrBuilder
      Returns:
      Whether the integrator field is set.
    • getIntegrator

      public String getIntegrator()
       Optional. Resource name of the integrator. Required if account is not
       provided. Otherwise, leave this field empty/unset.
       
      optional string integrator = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIntegrator in interface ListSubscribersRequestOrBuilder
      Returns:
      The integrator.
    • getIntegratorBytes

      public com.google.protobuf.ByteString getIntegratorBytes()
       Optional. Resource name of the integrator. Required if account is not
       provided. Otherwise, leave this field empty/unset.
       
      optional string integrator = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIntegratorBytes in interface ListSubscribersRequestOrBuilder
      Returns:
      The bytes for integrator.
    • setIntegrator

      public ListSubscribersRequest.Builder setIntegrator(String value)
       Optional. Resource name of the integrator. Required if account is not
       provided. Otherwise, leave this field empty/unset.
       
      optional string integrator = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The integrator to set.
      Returns:
      This builder for chaining.
    • clearIntegrator

      public ListSubscribersRequest.Builder clearIntegrator()
       Optional. Resource name of the integrator. Required if account is not
       provided. Otherwise, leave this field empty/unset.
       
      optional string integrator = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setIntegratorBytes

      public ListSubscribersRequest.Builder setIntegratorBytes(com.google.protobuf.ByteString value)
       Optional. Resource name of the integrator. Required if account is not
       provided. Otherwise, leave this field empty/unset.
       
      optional string integrator = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for integrator to set.
      Returns:
      This builder for chaining.