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
public interface CustomerConstraintsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.List<String>
getAllowedRegionsList()
Allowed geographical regions of the customer.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAllowedRegionsList
List<String> 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
String getAllowedRegions(int index)
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
CloudIdentityInfo.CustomerType getAllowedCustomerTypes(int index)
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
List<Integer> 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
PromotionalOrderType getPromotionalOrderTypes(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 element to return.- Returns:
- The promotionalOrderTypes at the given index.
-
getPromotionalOrderTypesValueList
List<Integer> 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.
-
-