public static final class Region.PostalCodeArea.PostalCodeRange.Builder extends GeneratedMessageV3.Builder<Region.PostalCodeArea.PostalCodeRange.Builder> implements Region.PostalCodeArea.PostalCodeRangeOrBuilder
A range of postal codes that defines the region area.
Protobuf type
google.shopping.merchant.accounts.v1beta.Region.PostalCodeArea.PostalCodeRange
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Region.PostalCodeArea.PostalCodeRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Region.PostalCodeArea.PostalCodeRange build()
buildPartial()
public Region.PostalCodeArea.PostalCodeRange buildPartial()
clear()
public Region.PostalCodeArea.PostalCodeRange.Builder clear()
Overrides
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];
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];
clearField(Descriptors.FieldDescriptor field)
public Region.PostalCodeArea.PostalCodeRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Region.PostalCodeArea.PostalCodeRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Region.PostalCodeArea.PostalCodeRange.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Region.PostalCodeArea.PostalCodeRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Region.PostalCodeArea.PostalCodeRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(Region.PostalCodeArea.PostalCodeRange other)
public Region.PostalCodeArea.PostalCodeRange.Builder mergeFrom(Region.PostalCodeArea.PostalCodeRange other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Region.PostalCodeArea.PostalCodeRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 |
String
The begin to set.
|
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 |
ByteString
The bytes for begin to set.
|
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 |
String
The end to set.
|
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 |
ByteString
The bytes for end to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Region.PostalCodeArea.PostalCodeRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Region.PostalCodeArea.PostalCodeRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Region.PostalCodeArea.PostalCodeRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides