Package com.google.cloud.channel.v1
Class CustomerConstraints.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
- com.google.cloud.channel.v1.CustomerConstraints.Builder
-
- All Implemented Interfaces:
CustomerConstraintsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- CustomerConstraints
public static final class CustomerConstraints.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder> implements CustomerConstraintsOrBuilder
Represents constraints required to purchase the Offer for a customer.
Protobuf typegoogle.cloud.channel.v1.CustomerConstraints
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomerConstraints.Builder
addAllAllowedCustomerTypes(Iterable<? extends CloudIdentityInfo.CustomerType> values)
Allowed Customer Type.CustomerConstraints.Builder
addAllAllowedCustomerTypesValue(Iterable<Integer> values)
Allowed Customer Type.CustomerConstraints.Builder
addAllAllowedRegions(Iterable<String> values)
Allowed geographical regions of the customer.CustomerConstraints.Builder
addAllowedCustomerTypes(CloudIdentityInfo.CustomerType value)
Allowed Customer Type.CustomerConstraints.Builder
addAllowedCustomerTypesValue(int value)
Allowed Customer Type.CustomerConstraints.Builder
addAllowedRegions(String value)
Allowed geographical regions of the customer.CustomerConstraints.Builder
addAllowedRegionsBytes(com.google.protobuf.ByteString value)
Allowed geographical regions of the customer.CustomerConstraints.Builder
addAllPromotionalOrderTypes(Iterable<? extends PromotionalOrderType> values)
Allowed Promotional Order Type.CustomerConstraints.Builder
addAllPromotionalOrderTypesValue(Iterable<Integer> values)
Allowed Promotional Order Type.CustomerConstraints.Builder
addPromotionalOrderTypes(PromotionalOrderType value)
Allowed Promotional Order Type.CustomerConstraints.Builder
addPromotionalOrderTypesValue(int value)
Allowed Promotional Order Type.CustomerConstraints.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CustomerConstraints
build()
CustomerConstraints
buildPartial()
CustomerConstraints.Builder
clear()
CustomerConstraints.Builder
clearAllowedCustomerTypes()
Allowed Customer Type.CustomerConstraints.Builder
clearAllowedRegions()
Allowed geographical regions of the customer.CustomerConstraints.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CustomerConstraints.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CustomerConstraints.Builder
clearPromotionalOrderTypes()
Allowed Promotional Order Type.CustomerConstraints.Builder
clone()
CloudIdentityInfo.CustomerType
getAllowedCustomerTypes(int index)
Allowed Customer Type.int
getAllowedCustomerTypesCount()
Allowed Customer Type.List<CloudIdentityInfo.CustomerType>
getAllowedCustomerTypesList()
Allowed Customer Type.int
getAllowedCustomerTypesValue(int index)
Allowed Customer Type.List<Integer>
getAllowedCustomerTypesValueList()
Allowed Customer Type.String
getAllowedRegions(int index)
Allowed geographical regions of the customer.com.google.protobuf.ByteString
getAllowedRegionsBytes(int index)
Allowed geographical regions of the customer.int
getAllowedRegionsCount()
Allowed geographical regions of the customer.com.google.protobuf.ProtocolStringList
getAllowedRegionsList()
Allowed geographical regions of the customer.CustomerConstraints
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
PromotionalOrderType
getPromotionalOrderTypes(int index)
Allowed Promotional Order Type.int
getPromotionalOrderTypesCount()
Allowed Promotional Order Type.List<PromotionalOrderType>
getPromotionalOrderTypesList()
Allowed Promotional Order Type.int
getPromotionalOrderTypesValue(int index)
Allowed Promotional Order Type.List<Integer>
getPromotionalOrderTypesValueList()
Allowed Promotional Order Type.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CustomerConstraints.Builder
mergeFrom(CustomerConstraints other)
CustomerConstraints.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CustomerConstraints.Builder
mergeFrom(com.google.protobuf.Message other)
CustomerConstraints.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CustomerConstraints.Builder
setAllowedCustomerTypes(int index, CloudIdentityInfo.CustomerType value)
Allowed Customer Type.CustomerConstraints.Builder
setAllowedCustomerTypesValue(int index, int value)
Allowed Customer Type.CustomerConstraints.Builder
setAllowedRegions(int index, String value)
Allowed geographical regions of the customer.CustomerConstraints.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CustomerConstraints.Builder
setPromotionalOrderTypes(int index, PromotionalOrderType value)
Allowed Promotional Order Type.CustomerConstraints.Builder
setPromotionalOrderTypesValue(int index, int value)
Allowed Promotional Order Type.CustomerConstraints.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
CustomerConstraints.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
clear
public CustomerConstraints.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
getDefaultInstanceForType
public CustomerConstraints getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CustomerConstraints build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CustomerConstraints buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CustomerConstraints.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
setField
public CustomerConstraints.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
clearField
public CustomerConstraints.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
clearOneof
public CustomerConstraints.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
setRepeatedField
public CustomerConstraints.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
addRepeatedField
public CustomerConstraints.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
mergeFrom
public CustomerConstraints.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CustomerConstraints.Builder>
-
mergeFrom
public CustomerConstraints.Builder mergeFrom(CustomerConstraints other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
mergeFrom
public CustomerConstraints.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CustomerConstraints.Builder>
- Throws:
IOException
-
getAllowedRegionsList
public com.google.protobuf.ProtocolStringList getAllowedRegionsList()
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
- Specified by:
getAllowedRegionsList
in interfaceCustomerConstraintsOrBuilder
- Returns:
- A list containing the allowedRegions.
-
getAllowedRegionsCount
public int getAllowedRegionsCount()
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
- Specified by:
getAllowedRegionsCount
in interfaceCustomerConstraintsOrBuilder
- Returns:
- The count of allowedRegions.
-
getAllowedRegions
public String getAllowedRegions(int index)
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
- Specified by:
getAllowedRegions
in interfaceCustomerConstraintsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allowedRegions at the given index.
-
getAllowedRegionsBytes
public com.google.protobuf.ByteString getAllowedRegionsBytes(int index)
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
- Specified by:
getAllowedRegionsBytes
in interfaceCustomerConstraintsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the allowedRegions at the given index.
-
setAllowedRegions
public CustomerConstraints.Builder setAllowedRegions(int index, String value)
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
- Parameters:
index
- The index to set the value at.value
- The allowedRegions to set.- Returns:
- This builder for chaining.
-
addAllowedRegions
public CustomerConstraints.Builder addAllowedRegions(String value)
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
- Parameters:
value
- The allowedRegions to add.- Returns:
- This builder for chaining.
-
addAllAllowedRegions
public CustomerConstraints.Builder addAllAllowedRegions(Iterable<String> values)
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
- Parameters:
values
- The allowedRegions to add.- Returns:
- This builder for chaining.
-
clearAllowedRegions
public CustomerConstraints.Builder clearAllowedRegions()
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
- Returns:
- This builder for chaining.
-
addAllowedRegionsBytes
public CustomerConstraints.Builder addAllowedRegionsBytes(com.google.protobuf.ByteString value)
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
- Parameters:
value
- The bytes of the allowedRegions to add.- Returns:
- This builder for chaining.
-
getAllowedCustomerTypesList
public List<CloudIdentityInfo.CustomerType> getAllowedCustomerTypesList()
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Specified by:
getAllowedCustomerTypesList
in interfaceCustomerConstraintsOrBuilder
- Returns:
- A list containing the allowedCustomerTypes.
-
getAllowedCustomerTypesCount
public int getAllowedCustomerTypesCount()
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Specified by:
getAllowedCustomerTypesCount
in interfaceCustomerConstraintsOrBuilder
- Returns:
- The count of allowedCustomerTypes.
-
getAllowedCustomerTypes
public CloudIdentityInfo.CustomerType getAllowedCustomerTypes(int index)
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Specified by:
getAllowedCustomerTypes
in interfaceCustomerConstraintsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The allowedCustomerTypes at the given index.
-
setAllowedCustomerTypes
public CustomerConstraints.Builder setAllowedCustomerTypes(int index, CloudIdentityInfo.CustomerType value)
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Parameters:
index
- The index to set the value at.value
- The allowedCustomerTypes to set.- Returns:
- This builder for chaining.
-
addAllowedCustomerTypes
public CustomerConstraints.Builder addAllowedCustomerTypes(CloudIdentityInfo.CustomerType value)
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Parameters:
value
- The allowedCustomerTypes to add.- Returns:
- This builder for chaining.
-
addAllAllowedCustomerTypes
public CustomerConstraints.Builder addAllAllowedCustomerTypes(Iterable<? extends CloudIdentityInfo.CustomerType> values)
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Parameters:
values
- The allowedCustomerTypes to add.- Returns:
- This builder for chaining.
-
clearAllowedCustomerTypes
public CustomerConstraints.Builder clearAllowedCustomerTypes()
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Returns:
- This builder for chaining.
-
getAllowedCustomerTypesValueList
public List<Integer> getAllowedCustomerTypesValueList()
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Specified by:
getAllowedCustomerTypesValueList
in interfaceCustomerConstraintsOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for allowedCustomerTypes.
-
getAllowedCustomerTypesValue
public int getAllowedCustomerTypesValue(int index)
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Specified by:
getAllowedCustomerTypesValue
in interfaceCustomerConstraintsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of allowedCustomerTypes at the given index.
-
setAllowedCustomerTypesValue
public CustomerConstraints.Builder setAllowedCustomerTypesValue(int index, int value)
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for allowedCustomerTypes to set.- Returns:
- This builder for chaining.
-
addAllowedCustomerTypesValue
public CustomerConstraints.Builder addAllowedCustomerTypesValue(int value)
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Parameters:
value
- The enum numeric value on the wire for allowedCustomerTypes to add.- Returns:
- This builder for chaining.
-
addAllAllowedCustomerTypesValue
public CustomerConstraints.Builder addAllAllowedCustomerTypesValue(Iterable<Integer> values)
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
- Parameters:
values
- The enum numeric values on the wire for allowedCustomerTypes to add.- Returns:
- This builder for chaining.
-
getPromotionalOrderTypesList
public List<PromotionalOrderType> getPromotionalOrderTypesList()
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Specified by:
getPromotionalOrderTypesList
in interfaceCustomerConstraintsOrBuilder
- Returns:
- A list containing the promotionalOrderTypes.
-
getPromotionalOrderTypesCount
public int getPromotionalOrderTypesCount()
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Specified by:
getPromotionalOrderTypesCount
in interfaceCustomerConstraintsOrBuilder
- Returns:
- The count of promotionalOrderTypes.
-
getPromotionalOrderTypes
public PromotionalOrderType getPromotionalOrderTypes(int index)
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Specified by:
getPromotionalOrderTypes
in interfaceCustomerConstraintsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The promotionalOrderTypes at the given index.
-
setPromotionalOrderTypes
public CustomerConstraints.Builder setPromotionalOrderTypes(int index, PromotionalOrderType value)
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Parameters:
index
- The index to set the value at.value
- The promotionalOrderTypes to set.- Returns:
- This builder for chaining.
-
addPromotionalOrderTypes
public CustomerConstraints.Builder addPromotionalOrderTypes(PromotionalOrderType value)
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Parameters:
value
- The promotionalOrderTypes to add.- Returns:
- This builder for chaining.
-
addAllPromotionalOrderTypes
public CustomerConstraints.Builder addAllPromotionalOrderTypes(Iterable<? extends PromotionalOrderType> values)
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Parameters:
values
- The promotionalOrderTypes to add.- Returns:
- This builder for chaining.
-
clearPromotionalOrderTypes
public CustomerConstraints.Builder clearPromotionalOrderTypes()
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Returns:
- This builder for chaining.
-
getPromotionalOrderTypesValueList
public List<Integer> getPromotionalOrderTypesValueList()
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Specified by:
getPromotionalOrderTypesValueList
in interfaceCustomerConstraintsOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for promotionalOrderTypes.
-
getPromotionalOrderTypesValue
public int getPromotionalOrderTypesValue(int index)
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Specified by:
getPromotionalOrderTypesValue
in interfaceCustomerConstraintsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of promotionalOrderTypes at the given index.
-
setPromotionalOrderTypesValue
public CustomerConstraints.Builder setPromotionalOrderTypesValue(int index, int value)
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for promotionalOrderTypes to set.- Returns:
- This builder for chaining.
-
addPromotionalOrderTypesValue
public CustomerConstraints.Builder addPromotionalOrderTypesValue(int value)
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Parameters:
value
- The enum numeric value on the wire for promotionalOrderTypes to add.- Returns:
- This builder for chaining.
-
addAllPromotionalOrderTypesValue
public CustomerConstraints.Builder addAllPromotionalOrderTypesValue(Iterable<Integer> values)
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
- Parameters:
values
- The enum numeric values on the wire for promotionalOrderTypes to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final CustomerConstraints.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
mergeUnknownFields
public final CustomerConstraints.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CustomerConstraints.Builder>
-
-