Class ListTransferableOffersRequest.Builder

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

public static final class ListTransferableOffersRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListTransferableOffersRequest.Builder> implements ListTransferableOffersRequestOrBuilder
 Request message for
 [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
 
Protobuf type google.cloud.channel.v1.ListTransferableOffersRequest
  • 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<ListTransferableOffersRequest.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<ListTransferableOffersRequest.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<ListTransferableOffersRequest.Builder>
    • getDefaultInstanceForType

      public ListTransferableOffersRequest 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

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

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

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

      public ListTransferableOffersRequest.TransferredCustomerIdentityCase getTransferredCustomerIdentityCase()
      Specified by:
      getTransferredCustomerIdentityCase in interface ListTransferableOffersRequestOrBuilder
    • clearTransferredCustomerIdentity

      public ListTransferableOffersRequest.Builder clearTransferredCustomerIdentity()
    • hasCloudIdentityId

      public boolean hasCloudIdentityId()
       Customer's Cloud Identity ID
       
      string cloud_identity_id = 4;
      Specified by:
      hasCloudIdentityId in interface ListTransferableOffersRequestOrBuilder
      Returns:
      Whether the cloudIdentityId field is set.
    • getCloudIdentityId

      public String getCloudIdentityId()
       Customer's Cloud Identity ID
       
      string cloud_identity_id = 4;
      Specified by:
      getCloudIdentityId in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The cloudIdentityId.
    • getCloudIdentityIdBytes

      public com.google.protobuf.ByteString getCloudIdentityIdBytes()
       Customer's Cloud Identity ID
       
      string cloud_identity_id = 4;
      Specified by:
      getCloudIdentityIdBytes in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The bytes for cloudIdentityId.
    • setCloudIdentityId

      public ListTransferableOffersRequest.Builder setCloudIdentityId(String value)
       Customer's Cloud Identity ID
       
      string cloud_identity_id = 4;
      Parameters:
      value - The cloudIdentityId to set.
      Returns:
      This builder for chaining.
    • clearCloudIdentityId

      public ListTransferableOffersRequest.Builder clearCloudIdentityId()
       Customer's Cloud Identity ID
       
      string cloud_identity_id = 4;
      Returns:
      This builder for chaining.
    • setCloudIdentityIdBytes

      public ListTransferableOffersRequest.Builder setCloudIdentityIdBytes(com.google.protobuf.ByteString value)
       Customer's Cloud Identity ID
       
      string cloud_identity_id = 4;
      Parameters:
      value - The bytes for cloudIdentityId to set.
      Returns:
      This builder for chaining.
    • hasCustomerName

      public boolean hasCustomerName()
       A reseller should create a customer and use the resource name of
       that customer here.
       
      string customer_name = 5;
      Specified by:
      hasCustomerName in interface ListTransferableOffersRequestOrBuilder
      Returns:
      Whether the customerName field is set.
    • getCustomerName

      public String getCustomerName()
       A reseller should create a customer and use the resource name of
       that customer here.
       
      string customer_name = 5;
      Specified by:
      getCustomerName in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The customerName.
    • getCustomerNameBytes

      public com.google.protobuf.ByteString getCustomerNameBytes()
       A reseller should create a customer and use the resource name of
       that customer here.
       
      string customer_name = 5;
      Specified by:
      getCustomerNameBytes in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The bytes for customerName.
    • setCustomerName

      public ListTransferableOffersRequest.Builder setCustomerName(String value)
       A reseller should create a customer and use the resource name of
       that customer here.
       
      string customer_name = 5;
      Parameters:
      value - The customerName to set.
      Returns:
      This builder for chaining.
    • clearCustomerName

      public ListTransferableOffersRequest.Builder clearCustomerName()
       A reseller should create a customer and use the resource name of
       that customer here.
       
      string customer_name = 5;
      Returns:
      This builder for chaining.
    • setCustomerNameBytes

      public ListTransferableOffersRequest.Builder setCustomerNameBytes(com.google.protobuf.ByteString value)
       A reseller should create a customer and use the resource name of
       that customer here.
       
      string customer_name = 5;
      Parameters:
      value - The bytes for customerName to set.
      Returns:
      This builder for chaining.
    • getParent

      public String getParent()
       Required. The resource name of the reseller's account.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParent in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the reseller's account.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParentBytes in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The resource name of the reseller's account.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The resource name of the reseller's account.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListTransferableOffersRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the reseller's account.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Requested page size. Server might return fewer results than requested.
       If unspecified, returns at most 100 offers.
       The maximum value is 1000; the server will coerce values above 1000.
       
      int32 page_size = 2;
      Specified by:
      getPageSize in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListTransferableOffersRequest.Builder setPageSize(int value)
       Requested page size. Server might return fewer results than requested.
       If unspecified, returns at most 100 offers.
       The maximum value is 1000; the server will coerce values above 1000.
       
      int32 page_size = 2;
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

      public ListTransferableOffersRequest.Builder clearPageSize()
       Requested page size. Server might return fewer results than requested.
       If unspecified, returns at most 100 offers.
       The maximum value is 1000; the server will coerce values above 1000.
       
      int32 page_size = 2;
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       A token for a page of results other than the first page.
       Obtained using
       [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
       of the previous
       [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
       call.
       
      string page_token = 3;
      Specified by:
      getPageToken in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       A token for a page of results other than the first page.
       Obtained using
       [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
       of the previous
       [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
       call.
       
      string page_token = 3;
      Specified by:
      getPageTokenBytes in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public ListTransferableOffersRequest.Builder setPageToken(String value)
       A token for a page of results other than the first page.
       Obtained using
       [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
       of the previous
       [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
       call.
       
      string page_token = 3;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public ListTransferableOffersRequest.Builder clearPageToken()
       A token for a page of results other than the first page.
       Obtained using
       [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
       of the previous
       [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
       call.
       
      string page_token = 3;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListTransferableOffersRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       A token for a page of results other than the first page.
       Obtained using
       [ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token]
       of the previous
       [CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers]
       call.
       
      string page_token = 3;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getSku

      public String getSku()
       Required. The SKU to look up Offers for.
       
      string sku = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSku in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The sku.
    • getSkuBytes

      public com.google.protobuf.ByteString getSkuBytes()
       Required. The SKU to look up Offers for.
       
      string sku = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSkuBytes in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The bytes for sku.
    • setSku

       Required. The SKU to look up Offers for.
       
      string sku = 6 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The sku to set.
      Returns:
      This builder for chaining.
    • clearSku

       Required. The SKU to look up Offers for.
       
      string sku = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setSkuBytes

      public ListTransferableOffersRequest.Builder setSkuBytes(com.google.protobuf.ByteString value)
       Required. The SKU to look up Offers for.
       
      string sku = 6 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for sku to set.
      Returns:
      This builder for chaining.
    • getLanguageCode

      public String getLanguageCode()
       Optional. The BCP-47 language code. For example, "en-US". The
       response will localize in the corresponding language code, if specified.
       The default value is "en-US".
       
      string language_code = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCode in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The languageCode.
    • getLanguageCodeBytes

      public com.google.protobuf.ByteString getLanguageCodeBytes()
       Optional. The BCP-47 language code. For example, "en-US". The
       response will localize in the corresponding language code, if specified.
       The default value is "en-US".
       
      string language_code = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getLanguageCodeBytes in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The bytes for languageCode.
    • setLanguageCode

      public ListTransferableOffersRequest.Builder setLanguageCode(String value)
       Optional. The BCP-47 language code. For example, "en-US". The
       response will localize in the corresponding language code, if specified.
       The default value is "en-US".
       
      string language_code = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The languageCode to set.
      Returns:
      This builder for chaining.
    • clearLanguageCode

      public ListTransferableOffersRequest.Builder clearLanguageCode()
       Optional. The BCP-47 language code. For example, "en-US". The
       response will localize in the corresponding language code, if specified.
       The default value is "en-US".
       
      string language_code = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setLanguageCodeBytes

      public ListTransferableOffersRequest.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
       Optional. The BCP-47 language code. For example, "en-US". The
       response will localize in the corresponding language code, if specified.
       The default value is "en-US".
       
      string language_code = 7 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for languageCode to set.
      Returns:
      This builder for chaining.
    • getBillingAccount

      public String getBillingAccount()
       Optional. The Billing Account to look up Offers for. Format:
       accounts/{account_id}/billingAccounts/{billing_account_id}.
      
       This field is only relevant for multi-currency accounts. It should be left
       empty for single currency accounts.
       
      string billing_account = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBillingAccount in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The billingAccount.
    • getBillingAccountBytes

      public com.google.protobuf.ByteString getBillingAccountBytes()
       Optional. The Billing Account to look up Offers for. Format:
       accounts/{account_id}/billingAccounts/{billing_account_id}.
      
       This field is only relevant for multi-currency accounts. It should be left
       empty for single currency accounts.
       
      string billing_account = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBillingAccountBytes in interface ListTransferableOffersRequestOrBuilder
      Returns:
      The bytes for billingAccount.
    • setBillingAccount

      public ListTransferableOffersRequest.Builder setBillingAccount(String value)
       Optional. The Billing Account to look up Offers for. Format:
       accounts/{account_id}/billingAccounts/{billing_account_id}.
      
       This field is only relevant for multi-currency accounts. It should be left
       empty for single currency accounts.
       
      string billing_account = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The billingAccount to set.
      Returns:
      This builder for chaining.
    • clearBillingAccount

      public ListTransferableOffersRequest.Builder clearBillingAccount()
       Optional. The Billing Account to look up Offers for. Format:
       accounts/{account_id}/billingAccounts/{billing_account_id}.
      
       This field is only relevant for multi-currency accounts. It should be left
       empty for single currency accounts.
       
      string billing_account = 8 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setBillingAccountBytes

      public ListTransferableOffersRequest.Builder setBillingAccountBytes(com.google.protobuf.ByteString value)
       Optional. The Billing Account to look up Offers for. Format:
       accounts/{account_id}/billingAccounts/{billing_account_id}.
      
       This field is only relevant for multi-currency accounts. It should be left
       empty for single currency accounts.
       
      string billing_account = 8 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for billingAccount to set.
      Returns:
      This builder for chaining.