Class ListCustomerRepricingConfigsRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListCustomerRepricingConfigsRequest.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.GeneratedMessageV3.Builder<ListCustomerRepricingConfigsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListCustomerRepricingConfigsRequest.Builder>
      • getParent

        public String getParent()
         Required. The resource name of the customer.
         Parent uses the format: accounts/{account_id}/customers/{customer_id}.
         Supports accounts/{account_id}/customers/- to retrieve configs for all
         customers.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface ListCustomerRepricingConfigsRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The resource name of the customer.
         Parent uses the format: accounts/{account_id}/customers/{customer_id}.
         Supports accounts/{account_id}/customers/- to retrieve configs for all
         customers.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface ListCustomerRepricingConfigsRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public ListCustomerRepricingConfigsRequest.Builder setParent​(String value)
         Required. The resource name of the customer.
         Parent uses the format: accounts/{account_id}/customers/{customer_id}.
         Supports accounts/{account_id}/customers/- to retrieve configs for all
         customers.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public ListCustomerRepricingConfigsRequest.Builder clearParent()
         Required. The resource name of the customer.
         Parent uses the format: accounts/{account_id}/customers/{customer_id}.
         Supports accounts/{account_id}/customers/- to retrieve configs for all
         customers.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public ListCustomerRepricingConfigsRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the customer.
         Parent uses the format: accounts/{account_id}/customers/{customer_id}.
         Supports accounts/{account_id}/customers/- to retrieve configs for all
         customers.
         
        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 ListCustomerRepricingConfigsRequestOrBuilder
        Returns:
        The pageSize.
      • setPageSize

        public ListCustomerRepricingConfigsRequest.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

        public ListCustomerRepricingConfigsRequest.Builder 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
         [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
         of the previous
         [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
         call.
         
        string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPageToken in interface ListCustomerRepricingConfigsRequestOrBuilder
        Returns:
        The pageToken.
      • getPageTokenBytes

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

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

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

        public ListCustomerRepricingConfigsRequest.Builder setPageTokenBytes​(com.google.protobuf.ByteString value)
         Optional. A token identifying a page of results beyond the first page.
         Obtained through
         [ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token]
         of the previous
         [CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs]
         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.ListCustomerRepricingConfigs]
         results (customer only). You can use this filter when you support
         a BatchGet-like query.
         To use the filter, you must set `parent=accounts/{account_id}/customers/-`.
        
         Example: customer = accounts/account_id/customers/c1 OR
         customer = accounts/account_id/customers/c2.
         
        string filter = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getFilter in interface ListCustomerRepricingConfigsRequestOrBuilder
        Returns:
        The filter.
      • getFilterBytes

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

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

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

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