Package com.google.cloud.channel.v1
Interface CustomerConstraintsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CustomerConstraints,CustomerConstraints.Builder
@Generated
public interface CustomerConstraintsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedCustomerTypes(int index) Allowed Customer Type.intAllowed Customer Type.Allowed Customer Type.intgetAllowedCustomerTypesValue(int index) Allowed Customer Type.Allowed Customer Type.getAllowedRegions(int index) Allowed geographical regions of the customer.com.google.protobuf.ByteStringgetAllowedRegionsBytes(int index) Allowed geographical regions of the customer.intAllowed geographical regions of the customer.Allowed geographical regions of the customer.getPromotionalOrderTypes(int index) Allowed Promotional Order Type.intAllowed Promotional Order Type.Allowed Promotional Order Type.intgetPromotionalOrderTypesValue(int index) Allowed Promotional Order Type.Allowed Promotional Order Type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAllowedRegionsList
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;- Returns:
- A list containing the allowedRegions.
-
getAllowedRegionsCount
int getAllowedRegionsCount()Allowed geographical regions of the customer.
repeated string allowed_regions = 1;- Returns:
- The count of allowedRegions.
-
getAllowedRegions
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;- Parameters:
index- The index of the element to return.- Returns:
- The allowedRegions at the given index.
-
getAllowedRegionsBytes
com.google.protobuf.ByteString getAllowedRegionsBytes(int index) Allowed geographical regions of the customer.
repeated string allowed_regions = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedRegions at the given index.
-
getAllowedCustomerTypesList
List<CloudIdentityInfo.CustomerType> getAllowedCustomerTypesList()Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;- Returns:
- A list containing the allowedCustomerTypes.
-
getAllowedCustomerTypesCount
int getAllowedCustomerTypesCount()Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;- Returns:
- The count of allowedCustomerTypes.
-
getAllowedCustomerTypes
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;- Parameters:
index- The index of the element to return.- Returns:
- The allowedCustomerTypes at the given index.
-
getAllowedCustomerTypesValueList
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;- Returns:
- A list containing the enum numeric values on the wire for allowedCustomerTypes.
-
getAllowedCustomerTypesValue
int getAllowedCustomerTypesValue(int index) Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of allowedCustomerTypes at the given index.
-
getPromotionalOrderTypesList
List<PromotionalOrderType> getPromotionalOrderTypesList()Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;- Returns:
- A list containing the promotionalOrderTypes.
-
getPromotionalOrderTypesCount
int getPromotionalOrderTypesCount()Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;- Returns:
- The count of promotionalOrderTypes.
-
getPromotionalOrderTypes
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;- Parameters:
index- The index of the element to return.- Returns:
- The promotionalOrderTypes at the given index.
-
getPromotionalOrderTypesValueList
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;- Returns:
- A list containing the enum numeric values on the wire for promotionalOrderTypes.
-
getPromotionalOrderTypesValue
int getPromotionalOrderTypesValue(int index) Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of promotionalOrderTypes at the given index.
-