public static final class Region.PostalCodeArea.PostalCodeRange.Builder extends GeneratedMessage.Builder<Region.PostalCodeArea.PostalCodeRange.Builder> implements Region.PostalCodeArea.PostalCodeRangeOrBuilderA range of postal codes that defines the region area.
Protobuf type
google.shopping.merchant.accounts.v1beta.Region.PostalCodeArea.PostalCodeRange
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Region.PostalCodeArea.PostalCodeRange.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Region.PostalCodeArea.PostalCodeRange build()| Returns | |
|---|---|
| Type | Description |
Region.PostalCodeArea.PostalCodeRange |
|
buildPartial()
public Region.PostalCodeArea.PostalCodeRange buildPartial()| Returns | |
|---|---|
| Type | Description |
Region.PostalCodeArea.PostalCodeRange |
|
clear()
public Region.PostalCodeArea.PostalCodeRange.Builder clear()| Returns | |
|---|---|
| Type | Description |
Region.PostalCodeArea.PostalCodeRange.Builder |
|
clearBegin()
public Region.PostalCodeArea.PostalCodeRange.Builder clearBegin() 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 |
Region.PostalCodeArea.PostalCodeRange.Builder |
This builder for chaining. |
clearEnd()
public Region.PostalCodeArea.PostalCodeRange.Builder clearEnd() 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 |
Region.PostalCodeArea.PostalCodeRange.Builder |
This builder for chaining. |
getBegin()
public 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 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. |
getDefaultInstanceForType()
public Region.PostalCodeArea.PostalCodeRange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Region.PostalCodeArea.PostalCodeRange |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnd()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Region.PostalCodeArea.PostalCodeRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Region.PostalCodeArea.PostalCodeRange.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Region.PostalCodeArea.PostalCodeRange.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Region.PostalCodeArea.PostalCodeRange.Builder |
|
mergeFrom(Region.PostalCodeArea.PostalCodeRange other)
public Region.PostalCodeArea.PostalCodeRange.Builder mergeFrom(Region.PostalCodeArea.PostalCodeRange other)| Parameter | |
|---|---|
| Name | Description |
other |
Region.PostalCodeArea.PostalCodeRange |
| Returns | |
|---|---|
| Type | Description |
Region.PostalCodeArea.PostalCodeRange.Builder |
|
setBegin(String value)
public Region.PostalCodeArea.PostalCodeRange.Builder setBegin(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe begin to set. |
| Returns | |
|---|---|
| Type | Description |
Region.PostalCodeArea.PostalCodeRange.Builder |
This builder for chaining. |
setBeginBytes(ByteString value)
public Region.PostalCodeArea.PostalCodeRange.Builder setBeginBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for begin to set. |
| Returns | |
|---|---|
| Type | Description |
Region.PostalCodeArea.PostalCodeRange.Builder |
This builder for chaining. |
setEnd(String value)
public Region.PostalCodeArea.PostalCodeRange.Builder setEnd(String value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe end to set. |
| Returns | |
|---|---|
| Type | Description |
Region.PostalCodeArea.PostalCodeRange.Builder |
This builder for chaining. |
setEndBytes(ByteString value)
public Region.PostalCodeArea.PostalCodeRange.Builder setEndBytes(ByteString value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for end to set. |
| Returns | |
|---|---|
| Type | Description |
Region.PostalCodeArea.PostalCodeRange.Builder |
This builder for chaining. |