public static final class AddressMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder> implements AddressMetadataOrBuilder
The metadata for the address. `metadata` is not guaranteed to be fully populated for every address sent to the Address Validation API.Protobuf type
google.maps.addressvalidation.v1.AddressMetadata| Modifier and Type | Method and Description |
|---|---|
AddressMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AddressMetadata |
build() |
AddressMetadata |
buildPartial() |
AddressMetadata.Builder |
clear() |
AddressMetadata.Builder |
clearBusiness()
Indicates that this is the address of a business.
|
AddressMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AddressMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AddressMetadata.Builder |
clearPoBox()
Indicates that the address of a PO box.
|
AddressMetadata.Builder |
clearResidential()
Indicates that this is the address of a residence.
|
AddressMetadata.Builder |
clone() |
boolean |
getBusiness()
Indicates that this is the address of a business.
|
AddressMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getPoBox()
Indicates that the address of a PO box.
|
boolean |
getResidential()
Indicates that this is the address of a residence.
|
boolean |
hasBusiness()
Indicates that this is the address of a business.
|
boolean |
hasPoBox()
Indicates that the address of a PO box.
|
boolean |
hasResidential()
Indicates that this is the address of a residence.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AddressMetadata.Builder |
mergeFrom(AddressMetadata other) |
AddressMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AddressMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
AddressMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AddressMetadata.Builder |
setBusiness(boolean value)
Indicates that this is the address of a business.
|
AddressMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AddressMetadata.Builder |
setPoBox(boolean value)
Indicates that the address of a PO box.
|
AddressMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AddressMetadata.Builder |
setResidential(boolean value)
Indicates that this is the address of a residence.
|
AddressMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>public AddressMetadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>public AddressMetadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AddressMetadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AddressMetadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AddressMetadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>public AddressMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>public AddressMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>public AddressMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>public AddressMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>public AddressMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>public AddressMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AddressMetadata.Builder>public AddressMetadata.Builder mergeFrom(AddressMetadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>public AddressMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AddressMetadata.Builder>IOExceptionpublic boolean hasBusiness()
Indicates that this is the address of a business. If unset, indicates that the value is unknown.
optional bool business = 2;hasBusiness in interface AddressMetadataOrBuilderpublic boolean getBusiness()
Indicates that this is the address of a business. If unset, indicates that the value is unknown.
optional bool business = 2;getBusiness in interface AddressMetadataOrBuilderpublic AddressMetadata.Builder setBusiness(boolean value)
Indicates that this is the address of a business. If unset, indicates that the value is unknown.
optional bool business = 2;value - The business to set.public AddressMetadata.Builder clearBusiness()
Indicates that this is the address of a business. If unset, indicates that the value is unknown.
optional bool business = 2;public boolean hasPoBox()
Indicates that the address of a PO box. If unset, indicates that the value is unknown.
optional bool po_box = 3;hasPoBox in interface AddressMetadataOrBuilderpublic boolean getPoBox()
Indicates that the address of a PO box. If unset, indicates that the value is unknown.
optional bool po_box = 3;getPoBox in interface AddressMetadataOrBuilderpublic AddressMetadata.Builder setPoBox(boolean value)
Indicates that the address of a PO box. If unset, indicates that the value is unknown.
optional bool po_box = 3;value - The poBox to set.public AddressMetadata.Builder clearPoBox()
Indicates that the address of a PO box. If unset, indicates that the value is unknown.
optional bool po_box = 3;public boolean hasResidential()
Indicates that this is the address of a residence. If unset, indicates that the value is unknown.
optional bool residential = 6;hasResidential in interface AddressMetadataOrBuilderpublic boolean getResidential()
Indicates that this is the address of a residence. If unset, indicates that the value is unknown.
optional bool residential = 6;getResidential in interface AddressMetadataOrBuilderpublic AddressMetadata.Builder setResidential(boolean value)
Indicates that this is the address of a residence. If unset, indicates that the value is unknown.
optional bool residential = 6;value - The residential to set.public AddressMetadata.Builder clearResidential()
Indicates that this is the address of a residence. If unset, indicates that the value is unknown.
optional bool residential = 6;public final AddressMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>public final AddressMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AddressMetadata.Builder>Copyright © 2024 Google LLC. All rights reserved.