Class ListChannelPartnerRepricingConfigsResponse.Builder (3.38.0)

public static final class ListChannelPartnerRepricingConfigsResponse.Builder extends GeneratedMessageV3.Builder<ListChannelPartnerRepricingConfigsResponse.Builder> implements ListChannelPartnerRepricingConfigsResponseOrBuilder

Response message for CloudChannelService.ListChannelPartnerRepricingConfigs.

Protobuf type google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllChannelPartnerRepricingConfigs(Iterable<? extends ChannelPartnerRepricingConfig> values)

public ListChannelPartnerRepricingConfigsResponse.Builder addAllChannelPartnerRepricingConfigs(Iterable<? extends ChannelPartnerRepricingConfig> values)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

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

addChannelPartnerRepricingConfigs(ChannelPartnerRepricingConfig value)

public ListChannelPartnerRepricingConfigsResponse.Builder addChannelPartnerRepricingConfigs(ChannelPartnerRepricingConfig value)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Parameter
NameDescription
valueChannelPartnerRepricingConfig
Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

addChannelPartnerRepricingConfigs(ChannelPartnerRepricingConfig.Builder builderForValue)

public ListChannelPartnerRepricingConfigsResponse.Builder addChannelPartnerRepricingConfigs(ChannelPartnerRepricingConfig.Builder builderForValue)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Parameter
NameDescription
builderForValueChannelPartnerRepricingConfig.Builder
Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

addChannelPartnerRepricingConfigs(int index, ChannelPartnerRepricingConfig value)

public ListChannelPartnerRepricingConfigsResponse.Builder addChannelPartnerRepricingConfigs(int index, ChannelPartnerRepricingConfig value)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Parameters
NameDescription
indexint
valueChannelPartnerRepricingConfig
Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

addChannelPartnerRepricingConfigs(int index, ChannelPartnerRepricingConfig.Builder builderForValue)

public ListChannelPartnerRepricingConfigsResponse.Builder addChannelPartnerRepricingConfigs(int index, ChannelPartnerRepricingConfig.Builder builderForValue)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Parameters
NameDescription
indexint
builderForValueChannelPartnerRepricingConfig.Builder
Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

addChannelPartnerRepricingConfigsBuilder()

public ChannelPartnerRepricingConfig.Builder addChannelPartnerRepricingConfigsBuilder()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

addChannelPartnerRepricingConfigsBuilder(int index)

public ChannelPartnerRepricingConfig.Builder addChannelPartnerRepricingConfigsBuilder(int index)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListChannelPartnerRepricingConfigsResponse build()
Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse

buildPartial()

public ListChannelPartnerRepricingConfigsResponse buildPartial()
Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse

clear()

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

clearChannelPartnerRepricingConfigs()

public ListChannelPartnerRepricingConfigsResponse.Builder clearChannelPartnerRepricingConfigs()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListChannelPartnerRepricingConfigsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getChannelPartnerRepricingConfigs(int index)

public ChannelPartnerRepricingConfig getChannelPartnerRepricingConfigs(int index)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChannelPartnerRepricingConfig

getChannelPartnerRepricingConfigsBuilder(int index)

public ChannelPartnerRepricingConfig.Builder getChannelPartnerRepricingConfigsBuilder(int index)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChannelPartnerRepricingConfig.Builder

getChannelPartnerRepricingConfigsBuilderList()

public List<ChannelPartnerRepricingConfig.Builder> getChannelPartnerRepricingConfigsBuilderList()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Returns
TypeDescription
List<Builder>

getChannelPartnerRepricingConfigsCount()

public int getChannelPartnerRepricingConfigsCount()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Returns
TypeDescription
int

getChannelPartnerRepricingConfigsList()

public List<ChannelPartnerRepricingConfig> getChannelPartnerRepricingConfigsList()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Returns
TypeDescription
List<ChannelPartnerRepricingConfig>

getChannelPartnerRepricingConfigsOrBuilder(int index)

public ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigsOrBuilder(int index)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ChannelPartnerRepricingConfigOrBuilder

getChannelPartnerRepricingConfigsOrBuilderList()

public List<? extends ChannelPartnerRepricingConfigOrBuilder> getChannelPartnerRepricingConfigsOrBuilderList()

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

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

getDefaultInstanceForType()

public ListChannelPartnerRepricingConfigsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. Pass to ListChannelPartnerRepricingConfigsRequest.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 ListChannelPartnerRepricingConfigsRequest.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(ListChannelPartnerRepricingConfigsResponse other)

public ListChannelPartnerRepricingConfigsResponse.Builder mergeFrom(ListChannelPartnerRepricingConfigsResponse other)
Parameter
NameDescription
otherListChannelPartnerRepricingConfigsResponse
Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeChannelPartnerRepricingConfigs(int index)

public ListChannelPartnerRepricingConfigsResponse.Builder removeChannelPartnerRepricingConfigs(int index)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

setChannelPartnerRepricingConfigs(int index, ChannelPartnerRepricingConfig value)

public ListChannelPartnerRepricingConfigsResponse.Builder setChannelPartnerRepricingConfigs(int index, ChannelPartnerRepricingConfig value)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Parameters
NameDescription
indexint
valueChannelPartnerRepricingConfig
Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

setChannelPartnerRepricingConfigs(int index, ChannelPartnerRepricingConfig.Builder builderForValue)

public ListChannelPartnerRepricingConfigsResponse.Builder setChannelPartnerRepricingConfigs(int index, ChannelPartnerRepricingConfig.Builder builderForValue)

The repricing configs for this channel partner.

repeated .google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_configs = 1;

Parameters
NameDescription
indexint
builderForValueChannelPartnerRepricingConfig.Builder
Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListChannelPartnerRepricingConfigsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListChannelPartnerRepricingConfigsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListChannelPartnerRepricingConfigsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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