Class CreateChannelPartnerRepricingConfigRequest.Builder (3.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateChannelPartnerRepricingConfigRequest build()
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest

buildPartial()

public CreateChannelPartnerRepricingConfigRequest buildPartial()
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest

clear()

public CreateChannelPartnerRepricingConfigRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateChannelPartnerRepricingConfigRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateChannelPartnerRepricingConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateChannelPartnerRepricingConfigRequest.Builder

This builder for chaining.

clone()

public CreateChannelPartnerRepricingConfigRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ChannelPartnerRepricingConfigOrBuilder

getDefaultInstanceForType()

public CreateChannelPartnerRepricingConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the channelPartnerRepricingConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueChannelPartnerRepricingConfig
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest.Builder

mergeFrom(CreateChannelPartnerRepricingConfigRequest other)

public CreateChannelPartnerRepricingConfigRequest.Builder mergeFrom(CreateChannelPartnerRepricingConfigRequest other)
Parameter
NameDescription
otherCreateChannelPartnerRepricingConfigRequest
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateChannelPartnerRepricingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueChannelPartnerRepricingConfig
Returns
TypeDescription
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
NameDescription
builderForValueChannelPartnerRepricingConfig.Builder
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateChannelPartnerRepricingConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateChannelPartnerRepricingConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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