Class ListCustomerRepricingConfigsResponse.Builder (3.20.0)

public static final class ListCustomerRepricingConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListCustomerRepricingConfigsResponse.Builder> implements ListCustomerRepricingConfigsResponseOrBuilder

Response message for CloudChannelService.ListCustomerRepricingConfigs.

Protobuf type google.cloud.channel.v1.ListCustomerRepricingConfigsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllCustomerRepricingConfigs(Iterable<? extends CustomerRepricingConfig> values)

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;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.CustomerRepricingConfig>
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

addCustomerRepricingConfigs(CustomerRepricingConfig value)

public ListCustomerRepricingConfigsResponse.Builder addCustomerRepricingConfigs(CustomerRepricingConfig value)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Parameter
NameDescription
valueCustomerRepricingConfig
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

addCustomerRepricingConfigs(CustomerRepricingConfig.Builder builderForValue)

public ListCustomerRepricingConfigsResponse.Builder addCustomerRepricingConfigs(CustomerRepricingConfig.Builder builderForValue)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Parameter
NameDescription
builderForValueCustomerRepricingConfig.Builder
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

addCustomerRepricingConfigs(int index, CustomerRepricingConfig value)

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;

Parameters
NameDescription
indexint
valueCustomerRepricingConfig
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

addCustomerRepricingConfigs(int index, CustomerRepricingConfig.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueCustomerRepricingConfig.Builder
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

addCustomerRepricingConfigsBuilder()

public CustomerRepricingConfig.Builder addCustomerRepricingConfigsBuilder()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Returns
TypeDescription
CustomerRepricingConfig.Builder

addCustomerRepricingConfigsBuilder(int index)

public CustomerRepricingConfig.Builder addCustomerRepricingConfigsBuilder(int index)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomerRepricingConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListCustomerRepricingConfigsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder
Overrides

build()

public ListCustomerRepricingConfigsResponse build()
Returns
TypeDescription
ListCustomerRepricingConfigsResponse

buildPartial()

public ListCustomerRepricingConfigsResponse buildPartial()
Returns
TypeDescription
ListCustomerRepricingConfigsResponse

clear()

public ListCustomerRepricingConfigsResponse.Builder clear()
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder
Overrides

clearCustomerRepricingConfigs()

public ListCustomerRepricingConfigsResponse.Builder clearCustomerRepricingConfigs()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListCustomerRepricingConfigsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder
Overrides

clearNextPageToken()

public ListCustomerRepricingConfigsResponse.Builder clearNextPageToken()

A token to retrieve the next page of results. Pass to ListCustomerRepricingConfigsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListCustomerRepricingConfigsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder
Overrides

clone()

public ListCustomerRepricingConfigsResponse.Builder clone()
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder
Overrides

getCustomerRepricingConfigs(int index)

public CustomerRepricingConfig getCustomerRepricingConfigs(int index)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomerRepricingConfig

getCustomerRepricingConfigsBuilder(int index)

public CustomerRepricingConfig.Builder getCustomerRepricingConfigsBuilder(int index)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomerRepricingConfig.Builder

getCustomerRepricingConfigsBuilderList()

public List<CustomerRepricingConfig.Builder> getCustomerRepricingConfigsBuilderList()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Returns
TypeDescription
List<Builder>

getCustomerRepricingConfigsCount()

public int getCustomerRepricingConfigsCount()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Returns
TypeDescription
int

getCustomerRepricingConfigsList()

public List<CustomerRepricingConfig> getCustomerRepricingConfigsList()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Returns
TypeDescription
List<CustomerRepricingConfig>

getCustomerRepricingConfigsOrBuilder(int index)

public CustomerRepricingConfigOrBuilder getCustomerRepricingConfigsOrBuilder(int index)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CustomerRepricingConfigOrBuilder

getCustomerRepricingConfigsOrBuilderList()

public List<? extends CustomerRepricingConfigOrBuilder> getCustomerRepricingConfigsOrBuilderList()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.channel.v1.CustomerRepricingConfigOrBuilder>

getDefaultInstanceForType()

public ListCustomerRepricingConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCustomerRepricingConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListCustomerRepricingConfigsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. Pass to ListCustomerRepricingConfigsRequest.page_token to obtain that page.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListCustomerRepricingConfigsResponse other)

public ListCustomerRepricingConfigsResponse.Builder mergeFrom(ListCustomerRepricingConfigsResponse other)
Parameter
NameDescription
otherListCustomerRepricingConfigsResponse
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListCustomerRepricingConfigsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListCustomerRepricingConfigsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListCustomerRepricingConfigsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder
Overrides

removeCustomerRepricingConfigs(int index)

public ListCustomerRepricingConfigsResponse.Builder removeCustomerRepricingConfigs(int index)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

setCustomerRepricingConfigs(int index, CustomerRepricingConfig value)

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;

Parameters
NameDescription
indexint
valueCustomerRepricingConfig
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

setCustomerRepricingConfigs(int index, CustomerRepricingConfig.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueCustomerRepricingConfig.Builder
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListCustomerRepricingConfigsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder
Overrides

setNextPageToken(String value)

public ListCustomerRepricingConfigsResponse.Builder setNextPageToken(String value)

A token to retrieve the next page of results. Pass to ListCustomerRepricingConfigsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListCustomerRepricingConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to retrieve the next page of results. Pass to ListCustomerRepricingConfigsRequest.page_token to obtain that page.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListCustomerRepricingConfigsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListCustomerRepricingConfigsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListCustomerRepricingConfigsResponse.Builder
Overrides