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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelPartnerRepricingConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateChannelPartnerRepricingConfigRequest build()
buildPartial()
public CreateChannelPartnerRepricingConfigRequest buildPartial()
clear()
public CreateChannelPartnerRepricingConfigRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public CreateChannelPartnerRepricingConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateChannelPartnerRepricingConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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) = { ... }
clone()
public CreateChannelPartnerRepricingConfigRequest.Builder clone()
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];
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];
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];
getDefaultInstanceForType()
public CreateChannelPartnerRepricingConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(CreateChannelPartnerRepricingConfigRequest other)
public CreateChannelPartnerRepricingConfigRequest.Builder mergeFrom(CreateChannelPartnerRepricingConfigRequest other)
public CreateChannelPartnerRepricingConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateChannelPartnerRepricingConfigRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelPartnerRepricingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelPartnerRepricingConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateChannelPartnerRepricingConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelPartnerRepricingConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides