Class CreateChannelPartnerRepricingConfigRequest.Builder (3.58.0)

public static final class CreateChannelPartnerRepricingConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateChannelPartnerRepricingConfigRequest.Builder> implements CreateChannelPartnerRepricingConfigRequestOrBuilder

Request message for CloudChannelService.CreateChannelPartnerRepricingConfig.

Protobuf type google.cloud.channel.v1.CreateChannelPartnerRepricingConfigRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateChannelPartnerRepricingConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides

build()

public CreateChannelPartnerRepricingConfigRequest build()
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest

buildPartial()

public CreateChannelPartnerRepricingConfigRequest buildPartial()
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest

clear()

public CreateChannelPartnerRepricingConfigRequest.Builder clear()
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides

clearChannelPartnerRepricingConfig()

public CreateChannelPartnerRepricingConfigRequest.Builder clearChannelPartnerRepricingConfig()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateChannelPartnerRepricingConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateChannelPartnerRepricingConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides

clearParent()

public CreateChannelPartnerRepricingConfigRequest.Builder clearParent()

Required. The resource name of the ChannelPartner that will receive the repricing config. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder

This builder for chaining.

clone()

public CreateChannelPartnerRepricingConfigRequest.Builder clone()
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides

getChannelPartnerRepricingConfig()

public ChannelPartnerRepricingConfig getChannelPartnerRepricingConfig()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelPartnerRepricingConfig

The channelPartnerRepricingConfig.

getChannelPartnerRepricingConfigBuilder()

public ChannelPartnerRepricingConfig.Builder getChannelPartnerRepricingConfigBuilder()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelPartnerRepricingConfig.Builder

getChannelPartnerRepricingConfigOrBuilder()

public ChannelPartnerRepricingConfigOrBuilder getChannelPartnerRepricingConfigOrBuilder()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ChannelPartnerRepricingConfigOrBuilder

getDefaultInstanceForType()

public CreateChannelPartnerRepricingConfigRequest getDefaultInstanceForType()
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The resource name of the ChannelPartner that will receive the repricing config. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the ChannelPartner that will receive the repricing config. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasChannelPartnerRepricingConfig()

public boolean hasChannelPartnerRepricingConfig()

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the channelPartnerRepricingConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig value)

public CreateChannelPartnerRepricingConfigRequest.Builder mergeChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig value)

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ChannelPartnerRepricingConfig
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder

mergeFrom(CreateChannelPartnerRepricingConfigRequest other)

public CreateChannelPartnerRepricingConfigRequest.Builder mergeFrom(CreateChannelPartnerRepricingConfigRequest other)
Parameter
Name Description
other CreateChannelPartnerRepricingConfigRequest
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateChannelPartnerRepricingConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateChannelPartnerRepricingConfigRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateChannelPartnerRepricingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides

setChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig value)

public CreateChannelPartnerRepricingConfigRequest.Builder setChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig value)

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ChannelPartnerRepricingConfig
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder

setChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig.Builder builderForValue)

public CreateChannelPartnerRepricingConfigRequest.Builder setChannelPartnerRepricingConfig(ChannelPartnerRepricingConfig.Builder builderForValue)

Required. The ChannelPartnerRepricingConfig object to update.

.google.cloud.channel.v1.ChannelPartnerRepricingConfig channel_partner_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ChannelPartnerRepricingConfig.Builder
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateChannelPartnerRepricingConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides

setParent(String value)

public CreateChannelPartnerRepricingConfigRequest.Builder setParent(String value)

Required. The resource name of the ChannelPartner that will receive the repricing config. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateChannelPartnerRepricingConfigRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the ChannelPartner that will receive the repricing config. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder

This builder for chaining.

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

public CreateChannelPartnerRepricingConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateChannelPartnerRepricingConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides