public final class UspsAddress extends com.google.protobuf.GeneratedMessageV3 implements UspsAddressOrBuilder
USPS representation of a US address.Protobuf type
google.maps.addressvalidation.v1.UspsAddress| Modifier and Type | Class and Description |
|---|---|
static class |
UspsAddress.Builder
USPS representation of a US address.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CITY_FIELD_NUMBER |
static int |
CITY_STATE_ZIP_ADDRESS_LINE_FIELD_NUMBER |
static int |
FIRM_FIELD_NUMBER |
static int |
FIRST_ADDRESS_LINE_FIELD_NUMBER |
static int |
SECOND_ADDRESS_LINE_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
URBANIZATION_FIELD_NUMBER |
static int |
ZIP_CODE_EXTENSION_FIELD_NUMBER |
static int |
ZIP_CODE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCity()
City name.
|
com.google.protobuf.ByteString |
getCityBytes()
City name.
|
String |
getCityStateZipAddressLine()
City + state + postal code.
|
com.google.protobuf.ByteString |
getCityStateZipAddressLineBytes()
City + state + postal code.
|
static UspsAddress |
getDefaultInstance() |
UspsAddress |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFirm()
Firm name.
|
com.google.protobuf.ByteString |
getFirmBytes()
Firm name.
|
String |
getFirstAddressLine()
First address line.
|
com.google.protobuf.ByteString |
getFirstAddressLineBytes()
First address line.
|
com.google.protobuf.Parser<UspsAddress> |
getParserForType() |
String |
getSecondAddressLine()
Second address line.
|
com.google.protobuf.ByteString |
getSecondAddressLineBytes()
Second address line.
|
int |
getSerializedSize() |
String |
getState()
2 letter state code.
|
com.google.protobuf.ByteString |
getStateBytes()
2 letter state code.
|
String |
getUrbanization()
Puerto Rican urbanization name.
|
com.google.protobuf.ByteString |
getUrbanizationBytes()
Puerto Rican urbanization name.
|
String |
getZipCode()
Postal code e.g.
|
com.google.protobuf.ByteString |
getZipCodeBytes()
Postal code e.g.
|
String |
getZipCodeExtension()
4-digit postal code extension e.g.
|
com.google.protobuf.ByteString |
getZipCodeExtensionBytes()
4-digit postal code extension e.g.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UspsAddress.Builder |
newBuilder() |
static UspsAddress.Builder |
newBuilder(UspsAddress prototype) |
UspsAddress.Builder |
newBuilderForType() |
protected UspsAddress.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UspsAddress |
parseDelimitedFrom(InputStream input) |
static UspsAddress |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UspsAddress |
parseFrom(byte[] data) |
static UspsAddress |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UspsAddress |
parseFrom(ByteBuffer data) |
static UspsAddress |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UspsAddress |
parseFrom(com.google.protobuf.ByteString data) |
static UspsAddress |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UspsAddress |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UspsAddress |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UspsAddress |
parseFrom(InputStream input) |
static UspsAddress |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UspsAddress> |
parser() |
UspsAddress.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FIRST_ADDRESS_LINE_FIELD_NUMBER
public static final int FIRM_FIELD_NUMBER
public static final int SECOND_ADDRESS_LINE_FIELD_NUMBER
public static final int URBANIZATION_FIELD_NUMBER
public static final int CITY_STATE_ZIP_ADDRESS_LINE_FIELD_NUMBER
public static final int CITY_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int ZIP_CODE_FIELD_NUMBER
public static final int ZIP_CODE_EXTENSION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getFirstAddressLine()
First address line.
string first_address_line = 1;getFirstAddressLine in interface UspsAddressOrBuilderpublic com.google.protobuf.ByteString getFirstAddressLineBytes()
First address line.
string first_address_line = 1;getFirstAddressLineBytes in interface UspsAddressOrBuilderpublic String getFirm()
Firm name.
string firm = 2;getFirm in interface UspsAddressOrBuilderpublic com.google.protobuf.ByteString getFirmBytes()
Firm name.
string firm = 2;getFirmBytes in interface UspsAddressOrBuilderpublic String getSecondAddressLine()
Second address line.
string second_address_line = 3;getSecondAddressLine in interface UspsAddressOrBuilderpublic com.google.protobuf.ByteString getSecondAddressLineBytes()
Second address line.
string second_address_line = 3;getSecondAddressLineBytes in interface UspsAddressOrBuilderpublic String getUrbanization()
Puerto Rican urbanization name.
string urbanization = 4;getUrbanization in interface UspsAddressOrBuilderpublic com.google.protobuf.ByteString getUrbanizationBytes()
Puerto Rican urbanization name.
string urbanization = 4;getUrbanizationBytes in interface UspsAddressOrBuilderpublic String getCityStateZipAddressLine()
City + state + postal code.
string city_state_zip_address_line = 5;getCityStateZipAddressLine in interface UspsAddressOrBuilderpublic com.google.protobuf.ByteString getCityStateZipAddressLineBytes()
City + state + postal code.
string city_state_zip_address_line = 5;getCityStateZipAddressLineBytes in interface UspsAddressOrBuilderpublic String getCity()
City name.
string city = 6;getCity in interface UspsAddressOrBuilderpublic com.google.protobuf.ByteString getCityBytes()
City name.
string city = 6;getCityBytes in interface UspsAddressOrBuilderpublic String getState()
2 letter state code.
string state = 7;getState in interface UspsAddressOrBuilderpublic com.google.protobuf.ByteString getStateBytes()
2 letter state code.
string state = 7;getStateBytes in interface UspsAddressOrBuilderpublic String getZipCode()
Postal code e.g. 10009.
string zip_code = 8;getZipCode in interface UspsAddressOrBuilderpublic com.google.protobuf.ByteString getZipCodeBytes()
Postal code e.g. 10009.
string zip_code = 8;getZipCodeBytes in interface UspsAddressOrBuilderpublic String getZipCodeExtension()
4-digit postal code extension e.g. 5023.
string zip_code_extension = 9;getZipCodeExtension in interface UspsAddressOrBuilderpublic com.google.protobuf.ByteString getZipCodeExtensionBytes()
4-digit postal code extension e.g. 5023.
string zip_code_extension = 9;getZipCodeExtensionBytes in interface UspsAddressOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static UspsAddress parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsAddress parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsAddress parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsAddress parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsAddress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsAddress parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsAddress parseFrom(InputStream input) throws IOException
IOExceptionpublic static UspsAddress parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UspsAddress parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UspsAddress parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UspsAddress parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UspsAddress parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UspsAddress.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UspsAddress.Builder newBuilder()
public static UspsAddress.Builder newBuilder(UspsAddress prototype)
public UspsAddress.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UspsAddress.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UspsAddress getDefaultInstance()
public static com.google.protobuf.Parser<UspsAddress> parser()
public com.google.protobuf.Parser<UspsAddress> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UspsAddress getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.