Class Address
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.maps.addressvalidation.v1.Address
-
- All Implemented Interfaces:
AddressOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Address extends com.google.protobuf.GeneratedMessageV3 implements AddressOrBuilder
Details of the post-processed address. Post-processing includes correcting misspelled parts of the address, replacing incorrect parts, and inferring missing parts.
Protobuf typegoogle.maps.addressvalidation.v1.Address
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Address.Builder
Details of the post-processed address.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADDRESS_COMPONENTS_FIELD_NUMBER
static int
FORMATTED_ADDRESS_FIELD_NUMBER
static int
MISSING_COMPONENT_TYPES_FIELD_NUMBER
static int
POSTAL_ADDRESS_FIELD_NUMBER
static int
UNCONFIRMED_COMPONENT_TYPES_FIELD_NUMBER
static int
UNRESOLVED_TOKENS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
AddressComponent
getAddressComponents(int index)
Unordered list.int
getAddressComponentsCount()
Unordered list.List<AddressComponent>
getAddressComponentsList()
Unordered list.AddressComponentOrBuilder
getAddressComponentsOrBuilder(int index)
Unordered list.List<? extends AddressComponentOrBuilder>
getAddressComponentsOrBuilderList()
Unordered list.static Address
getDefaultInstance()
Address
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFormattedAddress()
The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located.com.google.protobuf.ByteString
getFormattedAddressBytes()
The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located.String
getMissingComponentTypes(int index)
The types of components that were expected to be present in a correctly formatted mailing address but were not found in the input AND could not be inferred.com.google.protobuf.ByteString
getMissingComponentTypesBytes(int index)
The types of components that were expected to be present in a correctly formatted mailing address but were not found in the input AND could not be inferred.int
getMissingComponentTypesCount()
The types of components that were expected to be present in a correctly formatted mailing address but were not found in the input AND could not be inferred.com.google.protobuf.ProtocolStringList
getMissingComponentTypesList()
The types of components that were expected to be present in a correctly formatted mailing address but were not found in the input AND could not be inferred.com.google.protobuf.Parser<Address>
getParserForType()
com.google.type.PostalAddress
getPostalAddress()
The post-processed address represented as a postal address.com.google.type.PostalAddressOrBuilder
getPostalAddressOrBuilder()
The post-processed address represented as a postal address.int
getSerializedSize()
String
getUnconfirmedComponentTypes(int index)
The types of the components that are present in the `address_components` but could not be confirmed to be correct.com.google.protobuf.ByteString
getUnconfirmedComponentTypesBytes(int index)
The types of the components that are present in the `address_components` but could not be confirmed to be correct.int
getUnconfirmedComponentTypesCount()
The types of the components that are present in the `address_components` but could not be confirmed to be correct.com.google.protobuf.ProtocolStringList
getUnconfirmedComponentTypesList()
The types of the components that are present in the `address_components` but could not be confirmed to be correct.String
getUnresolvedTokens(int index)
Any tokens in the input that could not be resolved.com.google.protobuf.ByteString
getUnresolvedTokensBytes(int index)
Any tokens in the input that could not be resolved.int
getUnresolvedTokensCount()
Any tokens in the input that could not be resolved.com.google.protobuf.ProtocolStringList
getUnresolvedTokensList()
Any tokens in the input that could not be resolved.int
hashCode()
boolean
hasPostalAddress()
The post-processed address represented as a postal address.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Address.Builder
newBuilder()
static Address.Builder
newBuilder(Address prototype)
Address.Builder
newBuilderForType()
protected Address.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Address
parseDelimitedFrom(InputStream input)
static Address
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Address
parseFrom(byte[] data)
static Address
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Address
parseFrom(com.google.protobuf.ByteString data)
static Address
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Address
parseFrom(com.google.protobuf.CodedInputStream input)
static Address
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Address
parseFrom(InputStream input)
static Address
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Address
parseFrom(ByteBuffer data)
static Address
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Address>
parser()
Address.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FORMATTED_ADDRESS_FIELD_NUMBER
public static final int FORMATTED_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSTAL_ADDRESS_FIELD_NUMBER
public static final int POSTAL_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDRESS_COMPONENTS_FIELD_NUMBER
public static final int ADDRESS_COMPONENTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MISSING_COMPONENT_TYPES_FIELD_NUMBER
public static final int MISSING_COMPONENT_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNCONFIRMED_COMPONENT_TYPES_FIELD_NUMBER
public static final int UNCONFIRMED_COMPONENT_TYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNRESOLVED_TOKENS_FIELD_NUMBER
public static final int UNRESOLVED_TOKENS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getFormattedAddress
public String getFormattedAddress()
The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located.
string formatted_address = 2;
- Specified by:
getFormattedAddress
in interfaceAddressOrBuilder
- Returns:
- The formattedAddress.
-
getFormattedAddressBytes
public com.google.protobuf.ByteString getFormattedAddressBytes()
The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located.
string formatted_address = 2;
- Specified by:
getFormattedAddressBytes
in interfaceAddressOrBuilder
- Returns:
- The bytes for formattedAddress.
-
hasPostalAddress
public boolean hasPostalAddress()
The post-processed address represented as a postal address.
.google.type.PostalAddress postal_address = 3;
- Specified by:
hasPostalAddress
in interfaceAddressOrBuilder
- Returns:
- Whether the postalAddress field is set.
-
getPostalAddress
public com.google.type.PostalAddress getPostalAddress()
The post-processed address represented as a postal address.
.google.type.PostalAddress postal_address = 3;
- Specified by:
getPostalAddress
in interfaceAddressOrBuilder
- Returns:
- The postalAddress.
-
getPostalAddressOrBuilder
public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder()
The post-processed address represented as a postal address.
.google.type.PostalAddress postal_address = 3;
- Specified by:
getPostalAddressOrBuilder
in interfaceAddressOrBuilder
-
getAddressComponentsList
public List<AddressComponent> getAddressComponentsList()
Unordered list. The individual address components of the formatted and corrected address, along with validation information. This provides information on the validation status of the individual components. Address components are not ordered in a particular way. Do not make any assumptions on the ordering of the address components in the list.
repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
- Specified by:
getAddressComponentsList
in interfaceAddressOrBuilder
-
getAddressComponentsOrBuilderList
public List<? extends AddressComponentOrBuilder> getAddressComponentsOrBuilderList()
Unordered list. The individual address components of the formatted and corrected address, along with validation information. This provides information on the validation status of the individual components. Address components are not ordered in a particular way. Do not make any assumptions on the ordering of the address components in the list.
repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
- Specified by:
getAddressComponentsOrBuilderList
in interfaceAddressOrBuilder
-
getAddressComponentsCount
public int getAddressComponentsCount()
Unordered list. The individual address components of the formatted and corrected address, along with validation information. This provides information on the validation status of the individual components. Address components are not ordered in a particular way. Do not make any assumptions on the ordering of the address components in the list.
repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
- Specified by:
getAddressComponentsCount
in interfaceAddressOrBuilder
-
getAddressComponents
public AddressComponent getAddressComponents(int index)
Unordered list. The individual address components of the formatted and corrected address, along with validation information. This provides information on the validation status of the individual components. Address components are not ordered in a particular way. Do not make any assumptions on the ordering of the address components in the list.
repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
- Specified by:
getAddressComponents
in interfaceAddressOrBuilder
-
getAddressComponentsOrBuilder
public AddressComponentOrBuilder getAddressComponentsOrBuilder(int index)
Unordered list. The individual address components of the formatted and corrected address, along with validation information. This provides information on the validation status of the individual components. Address components are not ordered in a particular way. Do not make any assumptions on the ordering of the address components in the list.
repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
- Specified by:
getAddressComponentsOrBuilder
in interfaceAddressOrBuilder
-
getMissingComponentTypesList
public com.google.protobuf.ProtocolStringList getMissingComponentTypesList()
The types of components that were expected to be present in a correctly formatted mailing address but were not found in the input AND could not be inferred. Components of this type are not present in `formatted_address`, `postal_address`, or `address_components`. An example might be `['street_number', 'route']` for an input like "Boulder, Colorado, 80301, USA". The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string missing_component_types = 5;
- Specified by:
getMissingComponentTypesList
in interfaceAddressOrBuilder
- Returns:
- A list containing the missingComponentTypes.
-
getMissingComponentTypesCount
public int getMissingComponentTypesCount()
The types of components that were expected to be present in a correctly formatted mailing address but were not found in the input AND could not be inferred. Components of this type are not present in `formatted_address`, `postal_address`, or `address_components`. An example might be `['street_number', 'route']` for an input like "Boulder, Colorado, 80301, USA". The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string missing_component_types = 5;
- Specified by:
getMissingComponentTypesCount
in interfaceAddressOrBuilder
- Returns:
- The count of missingComponentTypes.
-
getMissingComponentTypes
public String getMissingComponentTypes(int index)
The types of components that were expected to be present in a correctly formatted mailing address but were not found in the input AND could not be inferred. Components of this type are not present in `formatted_address`, `postal_address`, or `address_components`. An example might be `['street_number', 'route']` for an input like "Boulder, Colorado, 80301, USA". The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string missing_component_types = 5;
- Specified by:
getMissingComponentTypes
in interfaceAddressOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The missingComponentTypes at the given index.
-
getMissingComponentTypesBytes
public com.google.protobuf.ByteString getMissingComponentTypesBytes(int index)
The types of components that were expected to be present in a correctly formatted mailing address but were not found in the input AND could not be inferred. Components of this type are not present in `formatted_address`, `postal_address`, or `address_components`. An example might be `['street_number', 'route']` for an input like "Boulder, Colorado, 80301, USA". The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string missing_component_types = 5;
- Specified by:
getMissingComponentTypesBytes
in interfaceAddressOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the missingComponentTypes at the given index.
-
getUnconfirmedComponentTypesList
public com.google.protobuf.ProtocolStringList getUnconfirmedComponentTypesList()
The types of the components that are present in the `address_components` but could not be confirmed to be correct. This field is provided for the sake of convenience: its contents are equivalent to iterating through the `address_components` to find the types of all the components where the [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level] is not [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED] or the [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred] flag is not set to `true`. The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string unconfirmed_component_types = 6;
- Specified by:
getUnconfirmedComponentTypesList
in interfaceAddressOrBuilder
- Returns:
- A list containing the unconfirmedComponentTypes.
-
getUnconfirmedComponentTypesCount
public int getUnconfirmedComponentTypesCount()
The types of the components that are present in the `address_components` but could not be confirmed to be correct. This field is provided for the sake of convenience: its contents are equivalent to iterating through the `address_components` to find the types of all the components where the [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level] is not [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED] or the [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred] flag is not set to `true`. The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string unconfirmed_component_types = 6;
- Specified by:
getUnconfirmedComponentTypesCount
in interfaceAddressOrBuilder
- Returns:
- The count of unconfirmedComponentTypes.
-
getUnconfirmedComponentTypes
public String getUnconfirmedComponentTypes(int index)
The types of the components that are present in the `address_components` but could not be confirmed to be correct. This field is provided for the sake of convenience: its contents are equivalent to iterating through the `address_components` to find the types of all the components where the [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level] is not [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED] or the [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred] flag is not set to `true`. The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string unconfirmed_component_types = 6;
- Specified by:
getUnconfirmedComponentTypes
in interfaceAddressOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The unconfirmedComponentTypes at the given index.
-
getUnconfirmedComponentTypesBytes
public com.google.protobuf.ByteString getUnconfirmedComponentTypesBytes(int index)
The types of the components that are present in the `address_components` but could not be confirmed to be correct. This field is provided for the sake of convenience: its contents are equivalent to iterating through the `address_components` to find the types of all the components where the [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level] is not [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED] or the [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred] flag is not set to `true`. The list of possible types can be found [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string unconfirmed_component_types = 6;
- Specified by:
getUnconfirmedComponentTypesBytes
in interfaceAddressOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unconfirmedComponentTypes at the given index.
-
getUnresolvedTokensList
public com.google.protobuf.ProtocolStringList getUnresolvedTokensList()
Any tokens in the input that could not be resolved. This might be an input that was not recognized as a valid part of an address (for example in an input like "123235253253 Main St, San Francisco, CA, 94105", the unresolved tokens may look like `["123235253253"]` since that does not look like a valid street number.
repeated string unresolved_tokens = 7;
- Specified by:
getUnresolvedTokensList
in interfaceAddressOrBuilder
- Returns:
- A list containing the unresolvedTokens.
-
getUnresolvedTokensCount
public int getUnresolvedTokensCount()
Any tokens in the input that could not be resolved. This might be an input that was not recognized as a valid part of an address (for example in an input like "123235253253 Main St, San Francisco, CA, 94105", the unresolved tokens may look like `["123235253253"]` since that does not look like a valid street number.
repeated string unresolved_tokens = 7;
- Specified by:
getUnresolvedTokensCount
in interfaceAddressOrBuilder
- Returns:
- The count of unresolvedTokens.
-
getUnresolvedTokens
public String getUnresolvedTokens(int index)
Any tokens in the input that could not be resolved. This might be an input that was not recognized as a valid part of an address (for example in an input like "123235253253 Main St, San Francisco, CA, 94105", the unresolved tokens may look like `["123235253253"]` since that does not look like a valid street number.
repeated string unresolved_tokens = 7;
- Specified by:
getUnresolvedTokens
in interfaceAddressOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The unresolvedTokens at the given index.
-
getUnresolvedTokensBytes
public com.google.protobuf.ByteString getUnresolvedTokensBytes(int index)
Any tokens in the input that could not be resolved. This might be an input that was not recognized as a valid part of an address (for example in an input like "123235253253 Main St, San Francisco, CA, 94105", the unresolved tokens may look like `["123235253253"]` since that does not look like a valid street number.
repeated string unresolved_tokens = 7;
- Specified by:
getUnresolvedTokensBytes
in interfaceAddressOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the unresolvedTokens at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Address parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Address parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Address parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Address parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Address parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Address parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Address parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Address parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Address parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Address parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Address parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Address parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Address.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Address.Builder newBuilder()
-
newBuilder
public static Address.Builder newBuilder(Address prototype)
-
toBuilder
public Address.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Address.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Address getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Address> parser()
-
getParserForType
public com.google.protobuf.Parser<Address> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Address getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-