Interface CustomerConstraintsOrBuilder

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of allowedRegions.

getAllowedRegionsList()

public abstract List<String> getAllowedRegionsList()

Allowed geographical regions of the customer.

repeated string allowed_regions = 1;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
List<Integer>

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