public static final class TaxRule.TaxPostalCodeRange extends GeneratedMessage implements TaxRule.TaxPostalCodeRangeOrBuilderA range of postal codes that defines the area.
Protobuf type google.shopping.merchant.accounts.v1beta.TaxRule.TaxPostalCodeRange
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > TaxRule.TaxPostalCodeRangeImplements
TaxRule.TaxPostalCodeRangeOrBuilderStatic Fields
END_FIELD_NUMBER
public static final int END_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static TaxRule.TaxPostalCodeRange getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static TaxRule.TaxPostalCodeRange.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange.Builder |
|
newBuilder(TaxRule.TaxPostalCodeRange prototype)
public static TaxRule.TaxPostalCodeRange.Builder newBuilder(TaxRule.TaxPostalCodeRange prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
TaxRule.TaxPostalCodeRange |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange.Builder |
|
parseDelimitedFrom(InputStream input)
public static TaxRule.TaxPostalCodeRange parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TaxRule.TaxPostalCodeRange parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static TaxRule.TaxPostalCodeRange parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TaxRule.TaxPostalCodeRange parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static TaxRule.TaxPostalCodeRange parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TaxRule.TaxPostalCodeRange parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static TaxRule.TaxPostalCodeRange parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TaxRule.TaxPostalCodeRange parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static TaxRule.TaxPostalCodeRange parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TaxRule.TaxPostalCodeRange parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static TaxRule.TaxPostalCodeRange parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TaxRule.TaxPostalCodeRange parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<TaxRule.TaxPostalCodeRange> parser()| Returns | |
|---|---|
| Type | Description |
Parser<TaxPostalCodeRange> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public TaxRule.TaxPostalCodeRange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange |
|
getEnd()
public String 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. |
getParserForType()
public Parser<TaxRule.TaxPostalCodeRange> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<TaxPostalCodeRange> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getStart()
public String 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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public TaxRule.TaxPostalCodeRange.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected TaxRule.TaxPostalCodeRange.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange.Builder |
|
toBuilder()
public TaxRule.TaxPostalCodeRange.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
TaxRule.TaxPostalCodeRange.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|