Class CreateChannelPartnerRepricingConfigRequest.Builder (3.87.0)

public static final class CreateChannelPartnerRepricingConfigRequest.Builder extends GeneratedMessage.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

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

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.

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 GeneratedMessage.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

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

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.