Class TransactionData.Address
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.recaptchaenterprise.v1beta1.TransactionData.Address
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TransactionData.AddressOrBuilder,Serializable
- Enclosing class:
- TransactionData
public static final class TransactionData.Address extends com.google.protobuf.GeneratedMessageV3 implements TransactionData.AddressOrBuilder
Structured address format for billing and shipping addresses.
Protobuf typegoogle.cloud.recaptchaenterprise.v1beta1.TransactionData.Address- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransactionData.Address.BuilderStructured address format for billing and shipping addresses.-
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 intADDRESS_FIELD_NUMBERstatic intADMINISTRATIVE_AREA_FIELD_NUMBERstatic intLOCALITY_FIELD_NUMBERstatic intPOSTAL_CODE_FIELD_NUMBERstatic intRECIPIENT_FIELD_NUMBERstatic intREGION_CODE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAddress(int index)The first lines of the address.com.google.protobuf.ByteStringgetAddressBytes(int index)The first lines of the address.intgetAddressCount()The first lines of the address.com.google.protobuf.ProtocolStringListgetAddressList()The first lines of the address.StringgetAdministrativeArea()The state, province, or otherwise administrative area of the address.com.google.protobuf.ByteStringgetAdministrativeAreaBytes()The state, province, or otherwise administrative area of the address.static TransactionData.AddressgetDefaultInstance()TransactionData.AddressgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetLocality()The town/city of the address.com.google.protobuf.ByteStringgetLocalityBytes()The town/city of the address.com.google.protobuf.Parser<TransactionData.Address>getParserForType()StringgetPostalCode()The postal or ZIP code of the address.com.google.protobuf.ByteStringgetPostalCodeBytes()The postal or ZIP code of the address.StringgetRecipient()The recipient name, potentially including information such as "care of".com.google.protobuf.ByteStringgetRecipientBytes()The recipient name, potentially including information such as "care of".StringgetRegionCode()The CLDR country/region of the address.com.google.protobuf.ByteStringgetRegionCodeBytes()The CLDR country/region of the address.intgetSerializedSize()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static TransactionData.Address.BuildernewBuilder()static TransactionData.Address.BuildernewBuilder(TransactionData.Address prototype)TransactionData.Address.BuildernewBuilderForType()protected TransactionData.Address.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TransactionData.AddressparseDelimitedFrom(InputStream input)static TransactionData.AddressparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransactionData.AddressparseFrom(byte[] data)static TransactionData.AddressparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransactionData.AddressparseFrom(com.google.protobuf.ByteString data)static TransactionData.AddressparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransactionData.AddressparseFrom(com.google.protobuf.CodedInputStream input)static TransactionData.AddressparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransactionData.AddressparseFrom(InputStream input)static TransactionData.AddressparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TransactionData.AddressparseFrom(ByteBuffer data)static TransactionData.AddressparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TransactionData.Address>parser()TransactionData.Address.BuildertoBuilder()voidwriteTo(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
-
RECIPIENT_FIELD_NUMBER
public static final int RECIPIENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOCALITY_FIELD_NUMBER
public static final int LOCALITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADMINISTRATIVE_AREA_FIELD_NUMBER
public static final int ADMINISTRATIVE_AREA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REGION_CODE_FIELD_NUMBER
public static final int REGION_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSTAL_CODE_FIELD_NUMBER
public static final int POSTAL_CODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRecipient
public String getRecipient()
The recipient name, potentially including information such as "care of".
string recipient = 1;- Specified by:
getRecipientin interfaceTransactionData.AddressOrBuilder- Returns:
- The recipient.
-
getRecipientBytes
public com.google.protobuf.ByteString getRecipientBytes()
The recipient name, potentially including information such as "care of".
string recipient = 1;- Specified by:
getRecipientBytesin interfaceTransactionData.AddressOrBuilder- Returns:
- The bytes for recipient.
-
getAddressList
public com.google.protobuf.ProtocolStringList getAddressList()
The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
repeated string address = 2;- Specified by:
getAddressListin interfaceTransactionData.AddressOrBuilder- Returns:
- A list containing the address.
-
getAddressCount
public int getAddressCount()
The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
repeated string address = 2;- Specified by:
getAddressCountin interfaceTransactionData.AddressOrBuilder- Returns:
- The count of address.
-
getAddress
public String getAddress(int index)
The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
repeated string address = 2;- Specified by:
getAddressin interfaceTransactionData.AddressOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The address at the given index.
-
getAddressBytes
public com.google.protobuf.ByteString getAddressBytes(int index)
The first lines of the address. The first line generally contains the street name and number, and further lines may include information such as an apartment number.
repeated string address = 2;- Specified by:
getAddressBytesin interfaceTransactionData.AddressOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the address at the given index.
-
getLocality
public String getLocality()
The town/city of the address.
string locality = 3;- Specified by:
getLocalityin interfaceTransactionData.AddressOrBuilder- Returns:
- The locality.
-
getLocalityBytes
public com.google.protobuf.ByteString getLocalityBytes()
The town/city of the address.
string locality = 3;- Specified by:
getLocalityBytesin interfaceTransactionData.AddressOrBuilder- Returns:
- The bytes for locality.
-
getAdministrativeArea
public String getAdministrativeArea()
The state, province, or otherwise administrative area of the address.
string administrative_area = 4;- Specified by:
getAdministrativeAreain interfaceTransactionData.AddressOrBuilder- Returns:
- The administrativeArea.
-
getAdministrativeAreaBytes
public com.google.protobuf.ByteString getAdministrativeAreaBytes()
The state, province, or otherwise administrative area of the address.
string administrative_area = 4;- Specified by:
getAdministrativeAreaBytesin interfaceTransactionData.AddressOrBuilder- Returns:
- The bytes for administrativeArea.
-
getRegionCode
public String getRegionCode()
The CLDR country/region of the address.
string region_code = 5;- Specified by:
getRegionCodein interfaceTransactionData.AddressOrBuilder- Returns:
- The regionCode.
-
getRegionCodeBytes
public com.google.protobuf.ByteString getRegionCodeBytes()
The CLDR country/region of the address.
string region_code = 5;- Specified by:
getRegionCodeBytesin interfaceTransactionData.AddressOrBuilder- Returns:
- The bytes for regionCode.
-
getPostalCode
public String getPostalCode()
The postal or ZIP code of the address.
string postal_code = 6;- Specified by:
getPostalCodein interfaceTransactionData.AddressOrBuilder- Returns:
- The postalCode.
-
getPostalCodeBytes
public com.google.protobuf.ByteString getPostalCodeBytes()
The postal or ZIP code of the address.
string postal_code = 6;- Specified by:
getPostalCodeBytesin interfaceTransactionData.AddressOrBuilder- Returns:
- The bytes for postalCode.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TransactionData.Address parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionData.Address parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionData.Address parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionData.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 TransactionData.Address parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionData.Address parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TransactionData.Address parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransactionData.Address parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransactionData.Address parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TransactionData.Address parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TransactionData.Address parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TransactionData.Address parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TransactionData.Address.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TransactionData.Address.Builder newBuilder()
-
newBuilder
public static TransactionData.Address.Builder newBuilder(TransactionData.Address prototype)
-
toBuilder
public TransactionData.Address.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransactionData.Address.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TransactionData.Address getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TransactionData.Address> parser()
-
getParserForType
public com.google.protobuf.Parser<TransactionData.Address> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TransactionData.Address getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-