- 3.59.0 (latest)
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public final class CustomerConstraints extends GeneratedMessageV3 implements CustomerConstraintsOrBuilder
Represents constraints required to purchase the Offer for a customer.
Protobuf type google.cloud.channel.v1.CustomerConstraints
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CustomerConstraintsImplements
CustomerConstraintsOrBuilderFields
ALLOWED_CUSTOMER_TYPES_FIELD_NUMBER
public static final int ALLOWED_CUSTOMER_TYPES_FIELD_NUMBER
Type | Description |
int |
ALLOWED_REGIONS_FIELD_NUMBER
public static final int ALLOWED_REGIONS_FIELD_NUMBER
Type | Description |
int |
PROMOTIONAL_ORDER_TYPES_FIELD_NUMBER
public static final int PROMOTIONAL_ORDER_TYPES_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAllowedCustomerTypes(int index)
public CloudIdentityInfo.CustomerType getAllowedCustomerTypes(int index)
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
CloudIdentityInfo.CustomerType | The allowedCustomerTypes at the given index. |
getAllowedCustomerTypesCount()
public int getAllowedCustomerTypesCount()
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
Type | Description |
int | The count of allowedCustomerTypes. |
getAllowedCustomerTypesList()
public List<CloudIdentityInfo.CustomerType> getAllowedCustomerTypesList()
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
Type | Description |
List<CustomerType> | A list containing the allowedCustomerTypes. |
getAllowedCustomerTypesValue(int index)
public int getAllowedCustomerTypesValue(int index)
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of allowedCustomerTypes at the given index. |
getAllowedCustomerTypesValueList()
public List<Integer> getAllowedCustomerTypesValueList()
Allowed Customer Type.
repeated .google.cloud.channel.v1.CloudIdentityInfo.CustomerType allowed_customer_types = 2;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for allowedCustomerTypes. |
getAllowedRegions(int index)
public String getAllowedRegions(int index)
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The allowedRegions at the given index. |
getAllowedRegionsBytes(int index)
public ByteString getAllowedRegionsBytes(int index)
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the allowedRegions at the given index. |
getAllowedRegionsCount()
public int getAllowedRegionsCount()
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
Type | Description |
int | The count of allowedRegions. |
getAllowedRegionsList()
public ProtocolStringList getAllowedRegionsList()
Allowed geographical regions of the customer.
repeated string allowed_regions = 1;
Type | Description |
ProtocolStringList | A list containing the allowedRegions. |
getDefaultInstance()
public static CustomerConstraints getDefaultInstance()
Type | Description |
CustomerConstraints |
getDefaultInstanceForType()
public CustomerConstraints getDefaultInstanceForType()
Type | Description |
CustomerConstraints |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getParserForType()
public Parser<CustomerConstraints> getParserForType()
Type | Description |
Parser<CustomerConstraints> |
getPromotionalOrderTypes(int index)
public PromotionalOrderType getPromotionalOrderTypes(int index)
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
PromotionalOrderType | The promotionalOrderTypes at the given index. |
getPromotionalOrderTypesCount()
public int getPromotionalOrderTypesCount()
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
Type | Description |
int | The count of promotionalOrderTypes. |
getPromotionalOrderTypesList()
public List<PromotionalOrderType> getPromotionalOrderTypesList()
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
Type | Description |
List<PromotionalOrderType> | A list containing the promotionalOrderTypes. |
getPromotionalOrderTypesValue(int index)
public int getPromotionalOrderTypesValue(int index)
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of promotionalOrderTypes at the given index. |
getPromotionalOrderTypesValueList()
public List<Integer> getPromotionalOrderTypesValueList()
Allowed Promotional Order Type. Present for Promotional offers.
repeated .google.cloud.channel.v1.PromotionalOrderType promotional_order_types = 3;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for promotionalOrderTypes. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static CustomerConstraints.Builder newBuilder()
Type | Description |
CustomerConstraints.Builder |
newBuilder(CustomerConstraints prototype)
public static CustomerConstraints.Builder newBuilder(CustomerConstraints prototype)
Name | Description |
prototype | CustomerConstraints |
Type | Description |
CustomerConstraints.Builder |
newBuilderForType()
public CustomerConstraints.Builder newBuilderForType()
Type | Description |
CustomerConstraints.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CustomerConstraints.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
CustomerConstraints.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static CustomerConstraints parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CustomerConstraints |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomerConstraints parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CustomerConstraints |
Type | Description |
IOException |
parseFrom(byte[] data)
public static CustomerConstraints parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
CustomerConstraints |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CustomerConstraints parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CustomerConstraints |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CustomerConstraints parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
CustomerConstraints |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CustomerConstraints parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CustomerConstraints |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CustomerConstraints parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
CustomerConstraints |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomerConstraints parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CustomerConstraints |
Type | Description |
IOException |
parseFrom(InputStream input)
public static CustomerConstraints parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
CustomerConstraints |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CustomerConstraints parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CustomerConstraints |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CustomerConstraints parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
CustomerConstraints |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CustomerConstraints parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CustomerConstraints |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CustomerConstraints> parser()
Type | Description |
Parser<CustomerConstraints> |
toBuilder()
public CustomerConstraints.Builder toBuilder()
Type | Description |
CustomerConstraints.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |