Required. A postal code or a pattern of the form prefix* denoting the
inclusive lower bound of the range defining the area. Examples values:
94108, 9410, 9.
string begin = 1 [(.google.api.field_behavior) = REQUIRED];
Required. A postal code or a pattern of the form prefix* denoting the
inclusive lower bound of the range defining the area. Examples values:
94108, 9410, 9.
string begin = 1 [(.google.api.field_behavior) = REQUIRED];
Optional. A postal code or a pattern of the form prefix* denoting the
inclusive upper bound of the range defining the area. It must have the
same length as postalCodeRangeBegin: if postalCodeRangeBegin is a
postal code then postalCodeRangeEnd must be a postal code too; if
postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a
pattern with the same prefix length. Optional: if not set, then the
area is defined as being all the postal codes matching
postalCodeRangeBegin.
string end = 2 [(.google.api.field_behavior) = OPTIONAL];
Optional. A postal code or a pattern of the form prefix* denoting the
inclusive upper bound of the range defining the area. It must have the
same length as postalCodeRangeBegin: if postalCodeRangeBegin is a
postal code then postalCodeRangeEnd must be a postal code too; if
postalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a
pattern with the same prefix length. Optional: if not set, then the
area is defined as being all the postal codes matching
postalCodeRangeBegin.
string end = 2 [(.google.api.field_behavior) = OPTIONAL];
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface Region.PostalCodeArea.PostalCodeRangeOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-accounts/0.26.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-accounts/0.24.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-accounts/0.23.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-accounts/0.20.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-accounts/0.19.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-accounts/0.18.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-accounts/0.16.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-accounts/0.15.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-accounts/0.14.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-accounts/0.13.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-accounts/0.12.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-accounts/0.11.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-accounts/0.10.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-accounts/0.9.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-accounts/0.8.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-accounts/0.7.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-accounts/0.5.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-accounts/0.4.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-accounts/0.3.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-accounts/0.2.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-accounts/0.1.0/com.google.shopping.merchant.accounts.v1.Region.PostalCodeArea.PostalCodeRangeOrBuilder) \n\n public static interface Region.PostalCodeArea.PostalCodeRangeOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getBegin()\n\n public abstract String getBegin()\n\nRequired. A postal code or a pattern of the form prefix\\* denoting the\ninclusive lower bound of the range defining the area. Examples values:\n`94108`, `9410`, `9`.\n\n`string begin = 1 [(.google.api.field_behavior) = REQUIRED];`\n\n### getBeginBytes()\n\n public abstract ByteString getBeginBytes()\n\nRequired. A postal code or a pattern of the form prefix\\* denoting the\ninclusive lower bound of the range defining the area. Examples values:\n`94108`, `9410`, `9`.\n\n`string begin = 1 [(.google.api.field_behavior) = REQUIRED];`\n\n### getEnd()\n\n public abstract String getEnd()\n\nOptional. A postal code or a pattern of the form `prefix*` denoting the\ninclusive upper bound of the range defining the area. It must have the\nsame length as postalCodeRangeBegin: if postalCodeRangeBegin is a\npostal code then postalCodeRangeEnd must be a postal code too; if\npostalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a\npattern with the same prefix length. Optional: if not set, then the\narea is defined as being all the postal codes matching\npostalCodeRangeBegin.\n\n`string end = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getEndBytes()\n\n public abstract ByteString getEndBytes()\n\nOptional. A postal code or a pattern of the form `prefix*` denoting the\ninclusive upper bound of the range defining the area. It must have the\nsame length as postalCodeRangeBegin: if postalCodeRangeBegin is a\npostal code then postalCodeRangeEnd must be a postal code too; if\npostalCodeRangeBegin is a pattern then postalCodeRangeEnd must be a\npattern with the same prefix length. Optional: if not set, then the\narea is defined as being all the postal codes matching\npostalCodeRangeBegin.\n\n`string end = 2 [(.google.api.field_behavior) = OPTIONAL];`"]]