Interface CustomerConstraintsOrBuilder (3.58.0)

public interface CustomerConstraintsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedCustomerTypes(int index)

public abstract CloudIdentityInfo.CustomerType getAllowedCustomerTypes(int index)

Allowed Customer Type.

repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
CloudIdentityInfo.CustomerType

The allowedCustomerTypes at the given index.

getAllowedCustomerTypesCount()

public abstract int getAllowedCustomerTypesCount()

Allowed Customer Type.

repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;

Returns
Type Description
int

The count of allowedCustomerTypes.

getAllowedCustomerTypesList()

public abstract List<CloudIdentityInfo.CustomerType> getAllowedCustomerTypesList()

Allowed Customer Type.

repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;

Returns
Type Description
List<CustomerType>

A list containing the allowedCustomerTypes.

getAllowedCustomerTypesValue(int index)

public abstract int getAllowedCustomerTypesValue(int index)

Allowed Customer Type.

repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of allowedCustomerTypes at the given index.

getAllowedCustomerTypesValueList()

public abstract List<Integer> getAllowedCustomerTypesValueList()

Allowed Customer Type.

repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for allowedCustomerTypes.

getAllowedRegions(int index)

public abstract String getAllowedRegions(int index)

Allowed geographical regions of the customer.

repeated string allowed_regions = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowedRegions at the given index.

getAllowedRegionsBytes(int index)

public abstract ByteString getAllowedRegionsBytes(int index)

Allowed geographical regions of the customer.

repeated string allowed_regions = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowedRegions at the given index.

getAllowedRegionsCount()

public abstract int getAllowedRegionsCount()

Allowed geographical regions of the customer.

repeated string allowed_regions = 1;

Returns
Type Description
int

The count of allowedRegions.

getAllowedRegionsList()

public abstract List<String> getAllowedRegionsList()

Allowed geographical regions of the customer.

repeated string allowed_regions = 1;

Returns
Type Description
List<String>

A list containing the allowedRegions.

getPromotionalOrderTypes(int index)

public abstract PromotionalOrderType getPromotionalOrderTypes(int index)

Allowed Promotional Order Type. Present for Promotional offers.

repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
PromotionalOrderType

The promotionalOrderTypes at the given index.

getPromotionalOrderTypesCount()

public abstract int getPromotionalOrderTypesCount()

Allowed Promotional Order Type. Present for Promotional offers.

repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;

Returns
Type Description
int

The count of promotionalOrderTypes.

getPromotionalOrderTypesList()

public abstract List<PromotionalOrderType> getPromotionalOrderTypesList()

Allowed Promotional Order Type. Present for Promotional offers.

repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;

Returns
Type Description
List<PromotionalOrderType>

A list containing the promotionalOrderTypes.

getPromotionalOrderTypesValue(int index)

public abstract int getPromotionalOrderTypesValue(int index)

Allowed Promotional Order Type. Present for Promotional offers.

repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of promotionalOrderTypes at the given index.

getPromotionalOrderTypesValueList()

public abstract List<Integer> getPromotionalOrderTypesValueList()

Allowed Promotional Order Type. Present for Promotional offers.

repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for promotionalOrderTypes.