public static final class TaxRule.TaxPostalCodeRange.Builder extends GeneratedMessageV3.Builder<TaxRule.TaxPostalCodeRange.Builder> implements TaxRule.TaxPostalCodeRangeOrBuilder
A range of postal codes that defines the area.
Protobuf type google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRange
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 TaxRule.TaxPostalCodeRange.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TaxRule.TaxPostalCodeRange build()
buildPartial()
public TaxRule.TaxPostalCodeRange buildPartial()
clear()
public TaxRule.TaxPostalCodeRange.Builder clear()
Overrides
clearEnd()
public TaxRule.TaxPostalCodeRange.Builder clearEnd()
The end of the postal code range. Will be the same as start if not
specified.
string end = 2;
clearField(Descriptors.FieldDescriptor field)
public TaxRule.TaxPostalCodeRange.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TaxRule.TaxPostalCodeRange.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearStart()
public TaxRule.TaxPostalCodeRange.Builder clearStart()
Required. The start of the postal code range, which is also the smallest
in the range.
string start = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public TaxRule.TaxPostalCodeRange.Builder clone()
Overrides
getDefaultInstanceForType()
public TaxRule.TaxPostalCodeRange getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnd()
The end of the postal code range. Will be the same as start if not
specified.
string end = 2;
Returns |
Type |
Description |
String |
The end.
|
getEndBytes()
public ByteString getEndBytes()
The end of the postal code range. Will be the same as start if not
specified.
string end = 2;
Returns |
Type |
Description |
ByteString |
The bytes for end.
|
getStart()
Required. The start of the postal code range, which is also the smallest
in the range.
string start = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The start.
|
getStartBytes()
public ByteString getStartBytes()
Required. The start of the postal code range, which is also the smallest
in the range.
string start = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for start.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TaxRule.TaxPostalCodeRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TaxRule.TaxPostalCodeRange.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(TaxRule.TaxPostalCodeRange other)
public TaxRule.TaxPostalCodeRange.Builder mergeFrom(TaxRule.TaxPostalCodeRange other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TaxRule.TaxPostalCodeRange.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnd(String value)
public TaxRule.TaxPostalCodeRange.Builder setEnd(String value)
The end of the postal code range. Will be the same as start if not
specified.
string end = 2;
Parameter |
Name |
Description |
value |
String
The end to set.
|
setEndBytes(ByteString value)
public TaxRule.TaxPostalCodeRange.Builder setEndBytes(ByteString value)
The end of the postal code range. Will be the same as start if not
specified.
string end = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for end to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public TaxRule.TaxPostalCodeRange.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TaxRule.TaxPostalCodeRange.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStart(String value)
public TaxRule.TaxPostalCodeRange.Builder setStart(String value)
Required. The start of the postal code range, which is also the smallest
in the range.
string start = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The start to set.
|
setStartBytes(ByteString value)
public TaxRule.TaxPostalCodeRange.Builder setStartBytes(ByteString value)
Required. The start of the postal code range, which is also the smallest
in the range.
string start = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for start to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final TaxRule.TaxPostalCodeRange.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides