Class ListCustomerRepricingConfigsResponse.Builder

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

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

      public ListCustomerRepricingConfigsResponse 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 ListCustomerRepricingConfigsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public List<CustomerRepricingConfig> getCustomerRepricingConfigsList()
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
      Specified by:
      getCustomerRepricingConfigsList in interface ListCustomerRepricingConfigsResponseOrBuilder
    • getCustomerRepricingConfigsCount

      public int getCustomerRepricingConfigsCount()
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
      Specified by:
      getCustomerRepricingConfigsCount in interface ListCustomerRepricingConfigsResponseOrBuilder
    • getCustomerRepricingConfigs

      public CustomerRepricingConfig getCustomerRepricingConfigs(int index)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
      Specified by:
      getCustomerRepricingConfigs in interface ListCustomerRepricingConfigsResponseOrBuilder
    • setCustomerRepricingConfigs

      public ListCustomerRepricingConfigsResponse.Builder setCustomerRepricingConfigs(int index, CustomerRepricingConfig value)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • setCustomerRepricingConfigs

      public ListCustomerRepricingConfigsResponse.Builder setCustomerRepricingConfigs(int index, CustomerRepricingConfig.Builder builderForValue)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • addCustomerRepricingConfigs

      public ListCustomerRepricingConfigsResponse.Builder addCustomerRepricingConfigs(CustomerRepricingConfig value)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • addCustomerRepricingConfigs

      public ListCustomerRepricingConfigsResponse.Builder addCustomerRepricingConfigs(int index, CustomerRepricingConfig value)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • addCustomerRepricingConfigs

      public ListCustomerRepricingConfigsResponse.Builder addCustomerRepricingConfigs(CustomerRepricingConfig.Builder builderForValue)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • addCustomerRepricingConfigs

      public ListCustomerRepricingConfigsResponse.Builder addCustomerRepricingConfigs(int index, CustomerRepricingConfig.Builder builderForValue)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • addAllCustomerRepricingConfigs

      public ListCustomerRepricingConfigsResponse.Builder addAllCustomerRepricingConfigs(Iterable<? extends CustomerRepricingConfig> values)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • clearCustomerRepricingConfigs

      public ListCustomerRepricingConfigsResponse.Builder clearCustomerRepricingConfigs()
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • removeCustomerRepricingConfigs

      public ListCustomerRepricingConfigsResponse.Builder removeCustomerRepricingConfigs(int index)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • getCustomerRepricingConfigsBuilder

      public CustomerRepricingConfig.Builder getCustomerRepricingConfigsBuilder(int index)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • getCustomerRepricingConfigsOrBuilder

      public CustomerRepricingConfigOrBuilder getCustomerRepricingConfigsOrBuilder(int index)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
      Specified by:
      getCustomerRepricingConfigsOrBuilder in interface ListCustomerRepricingConfigsResponseOrBuilder
    • getCustomerRepricingConfigsOrBuilderList

      public List<? extends CustomerRepricingConfigOrBuilder> getCustomerRepricingConfigsOrBuilderList()
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
      Specified by:
      getCustomerRepricingConfigsOrBuilderList in interface ListCustomerRepricingConfigsResponseOrBuilder
    • addCustomerRepricingConfigsBuilder

      public CustomerRepricingConfig.Builder addCustomerRepricingConfigsBuilder()
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • addCustomerRepricingConfigsBuilder

      public CustomerRepricingConfig.Builder addCustomerRepricingConfigsBuilder(int index)
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • getCustomerRepricingConfigsBuilderList

      public List<CustomerRepricingConfig.Builder> getCustomerRepricingConfigsBuilderList()
       The repricing configs for this channel partner.
       
      repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;
    • getNextPageToken

      public String getNextPageToken()
       A token to retrieve the next page of results.
       Pass to
       [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListCustomerRepricingConfigsResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       A token to retrieve the next page of results.
       Pass to
       [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListCustomerRepricingConfigsResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListCustomerRepricingConfigsResponse.Builder setNextPageToken(String value)
       A token to retrieve the next page of results.
       Pass to
       [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListCustomerRepricingConfigsResponse.Builder clearNextPageToken()
       A token to retrieve the next page of results.
       Pass to
       [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListCustomerRepricingConfigsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
       A token to retrieve the next page of results.
       Pass to
       [ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token]
       to obtain that page.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.