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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelPartnerRepricingConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateChannelPartnerRepricingConfigRequest build()
Returns
buildPartial()
public CreateChannelPartnerRepricingConfigRequest buildPartial()
Returns
clear()
public CreateChannelPartnerRepricingConfigRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public CreateChannelPartnerRepricingConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateChannelPartnerRepricingConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public CreateChannelPartnerRepricingConfigRequest.Builder clone()
Returns
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
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
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
getDefaultInstanceForType()
public CreateChannelPartnerRepricingConfigRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(CreateChannelPartnerRepricingConfigRequest other)
public CreateChannelPartnerRepricingConfigRequest.Builder mergeFrom(CreateChannelPartnerRepricingConfigRequest other)
Parameter
Returns
public CreateChannelPartnerRepricingConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateChannelPartnerRepricingConfigRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelPartnerRepricingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateChannelPartnerRepricingConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateChannelPartnerRepricingConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateChannelPartnerRepricingConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides