Interface Region.PostalCodeArea.PostalCodeRangeOrBuilder (0.11.0)

public static interface Region.PostalCodeArea.PostalCodeRangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBegin()

public abstract String getBegin()

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];

Returns
Type Description
String

The begin.

getBeginBytes()

public abstract ByteString getBeginBytes()

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];

Returns
Type Description
ByteString

The bytes for begin.

getEnd()

public abstract String getEnd()

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];

Returns
Type Description
String

The end.

getEndBytes()

public abstract ByteString getEndBytes()

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];

Returns
Type Description
ByteString

The bytes for end.