public static final class CreateCustomerRepricingConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateCustomerRepricingConfigRequest.Builder> implements CreateCustomerRepricingConfigRequestOrBuilder
Request message for
CloudChannelService.CreateCustomerRepricingConfig.
Protobuf type google.cloud.channel.v1.CreateCustomerRepricingConfigRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 CreateCustomerRepricingConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateCustomerRepricingConfigRequest build()
buildPartial()
public CreateCustomerRepricingConfigRequest buildPartial()
clear()
public CreateCustomerRepricingConfigRequest.Builder clear()
Overrides
clearCustomerRepricingConfig()
public CreateCustomerRepricingConfigRequest.Builder clearCustomerRepricingConfig()
Required. The CustomerRepricingConfig object to update.
.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateCustomerRepricingConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateCustomerRepricingConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateCustomerRepricingConfigRequest.Builder clearParent()
Required. The resource name of the customer that will receive this
repricing config. Parent uses the format:
accounts/{account_id}/customers/{customer_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateCustomerRepricingConfigRequest.Builder clone()
Overrides
getCustomerRepricingConfig()
public CustomerRepricingConfig getCustomerRepricingConfig()
Required. The CustomerRepricingConfig object to update.
.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
getCustomerRepricingConfigBuilder()
public CustomerRepricingConfig.Builder getCustomerRepricingConfigBuilder()
Required. The CustomerRepricingConfig object to update.
.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
getCustomerRepricingConfigOrBuilder()
public CustomerRepricingConfigOrBuilder getCustomerRepricingConfigOrBuilder()
Required. The CustomerRepricingConfig object to update.
.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateCustomerRepricingConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. The resource name of the customer that will receive this
repricing config. Parent uses the format:
accounts/{account_id}/customers/{customer_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 customer that will receive this
repricing config. Parent uses the format:
accounts/{account_id}/customers/{customer_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
hasCustomerRepricingConfig()
public boolean hasCustomerRepricingConfig()
Required. The CustomerRepricingConfig object to update.
.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the customerRepricingConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCustomerRepricingConfig(CustomerRepricingConfig value)
public CreateCustomerRepricingConfigRequest.Builder mergeCustomerRepricingConfig(CustomerRepricingConfig value)
Required. The CustomerRepricingConfig object to update.
.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateCustomerRepricingConfigRequest other)
public CreateCustomerRepricingConfigRequest.Builder mergeFrom(CreateCustomerRepricingConfigRequest other)
public CreateCustomerRepricingConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateCustomerRepricingConfigRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateCustomerRepricingConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCustomerRepricingConfig(CustomerRepricingConfig value)
public CreateCustomerRepricingConfigRequest.Builder setCustomerRepricingConfig(CustomerRepricingConfig value)
Required. The CustomerRepricingConfig object to update.
.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
setCustomerRepricingConfig(CustomerRepricingConfig.Builder builderForValue)
public CreateCustomerRepricingConfigRequest.Builder setCustomerRepricingConfig(CustomerRepricingConfig.Builder builderForValue)
Required. The CustomerRepricingConfig object to update.
.google.cloud.channel.v1.CustomerRepricingConfig customer_repricing_config = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateCustomerRepricingConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateCustomerRepricingConfigRequest.Builder setParent(String value)
Required. The resource name of the customer that will receive this
repricing config. Parent uses the format:
accounts/{account_id}/customers/{customer_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 CreateCustomerRepricingConfigRequest.Builder setParentBytes(ByteString value)
Required. The resource name of the customer that will receive this
repricing config. Parent uses the format:
accounts/{account_id}/customers/{customer_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 CreateCustomerRepricingConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateCustomerRepricingConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides