Class ListChannelPartnerRepricingConfigsRequest.Builder

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

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

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

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

      public String getParent()
       Required. The resource name of the account's
       [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
       uses the format:
       accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
       Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
       for all channel partners.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface ListChannelPartnerRepricingConfigsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the account's
       [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
       uses the format:
       accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
       Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
       for all channel partners.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface ListChannelPartnerRepricingConfigsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The resource name of the account's
       [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
       uses the format:
       accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
       Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
       for all channel partners.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The resource name of the account's
       [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
       uses the format:
       accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
       Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
       for all channel partners.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public ListChannelPartnerRepricingConfigsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The resource name of the account's
       [ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink]. Parent
       uses the format:
       accounts/{account_id}/channelPartnerLinks/{channel_partner_id}.
       Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs
       for all channel partners.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getPageSize

      public int getPageSize()
       Optional. The maximum number of repricing configs to return. The service
       may return fewer than this value. If unspecified, returns a maximum of 50
       rules. The maximum value is 100; values above 100 will be coerced to 100.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageSize in interface ListChannelPartnerRepricingConfigsRequestOrBuilder
      Returns:
      The pageSize.
    • setPageSize

      public ListChannelPartnerRepricingConfigsRequest.Builder setPageSize(int value)
       Optional. The maximum number of repricing configs to return. The service
       may return fewer than this value. If unspecified, returns a maximum of 50
       rules. The maximum value is 100; values above 100 will be coerced to 100.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageSize to set.
      Returns:
      This builder for chaining.
    • clearPageSize

       Optional. The maximum number of repricing configs to return. The service
       may return fewer than this value. If unspecified, returns a maximum of 50
       rules. The maximum value is 100; values above 100 will be coerced to 100.
       
      int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPageToken

      public String getPageToken()
       Optional. A token identifying a page of results beyond the first page.
       Obtained through
       [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
       of the previous
       [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
       call.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageToken in interface ListChannelPartnerRepricingConfigsRequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Optional. A token identifying a page of results beyond the first page.
       Obtained through
       [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
       of the previous
       [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
       call.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPageTokenBytes in interface ListChannelPartnerRepricingConfigsRequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

       Optional. A token identifying a page of results beyond the first page.
       Obtained through
       [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
       of the previous
       [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
       call.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

       Optional. A token identifying a page of results beyond the first page.
       Obtained through
       [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
       of the previous
       [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
       call.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public ListChannelPartnerRepricingConfigsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Optional. A token identifying a page of results beyond the first page.
       Obtained through
       [ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token]
       of the previous
       [CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs]
       call.
       
      string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • getFilter

      public String getFilter()
       Optional. A filter for
       [CloudChannelService.ListChannelPartnerRepricingConfigs] results
       (channel_partner_link only). You can use this filter when you support a
       BatchGet-like query. To use the filter, you must set
       `parent=accounts/{account_id}/channelPartnerLinks/-`.
      
       Example: `channel_partner_link =
       accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
       accounts/account_id/channelPartnerLinks/c2`.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilter in interface ListChannelPartnerRepricingConfigsRequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       Optional. A filter for
       [CloudChannelService.ListChannelPartnerRepricingConfigs] results
       (channel_partner_link only). You can use this filter when you support a
       BatchGet-like query. To use the filter, you must set
       `parent=accounts/{account_id}/channelPartnerLinks/-`.
      
       Example: `channel_partner_link =
       accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
       accounts/account_id/channelPartnerLinks/c2`.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getFilterBytes in interface ListChannelPartnerRepricingConfigsRequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

       Optional. A filter for
       [CloudChannelService.ListChannelPartnerRepricingConfigs] results
       (channel_partner_link only). You can use this filter when you support a
       BatchGet-like query. To use the filter, you must set
       `parent=accounts/{account_id}/channelPartnerLinks/-`.
      
       Example: `channel_partner_link =
       accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
       accounts/account_id/channelPartnerLinks/c2`.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

       Optional. A filter for
       [CloudChannelService.ListChannelPartnerRepricingConfigs] results
       (channel_partner_link only). You can use this filter when you support a
       BatchGet-like query. To use the filter, you must set
       `parent=accounts/{account_id}/channelPartnerLinks/-`.
      
       Example: `channel_partner_link =
       accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
       accounts/account_id/channelPartnerLinks/c2`.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setFilterBytes

      public ListChannelPartnerRepricingConfigsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
       Optional. A filter for
       [CloudChannelService.ListChannelPartnerRepricingConfigs] results
       (channel_partner_link only). You can use this filter when you support a
       BatchGet-like query. To use the filter, you must set
       `parent=accounts/{account_id}/channelPartnerLinks/-`.
      
       Example: `channel_partner_link =
       accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link =
       accounts/account_id/channelPartnerLinks/c2`.
       
      string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.