Class TransactionData.Address
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.recaptchaenterprise.v1.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.v1.TransactionData.Address
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransactionData.Address.Builder
Structured 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 int
ADDRESS_FIELD_NUMBER
static int
ADMINISTRATIVE_AREA_FIELD_NUMBER
static int
LOCALITY_FIELD_NUMBER
static int
POSTAL_CODE_FIELD_NUMBER
static int
RECIPIENT_FIELD_NUMBER
static int
REGION_CODE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAddress(int index)
The first lines of the address.com.google.protobuf.ByteString
getAddressBytes(int index)
The first lines of the address.int
getAddressCount()
The first lines of the address.com.google.protobuf.ProtocolStringList
getAddressList()
The first lines of the address.String
getAdministrativeArea()
The state, province, or otherwise administrative area of the address.com.google.protobuf.ByteString
getAdministrativeAreaBytes()
The state, province, or otherwise administrative area of the address.static TransactionData.Address
getDefaultInstance()
TransactionData.Address
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getLocality()
The town/city of the address.com.google.protobuf.ByteString
getLocalityBytes()
The town/city of the address.com.google.protobuf.Parser<TransactionData.Address>
getParserForType()
String
getPostalCode()
The postal or ZIP code of the address.com.google.protobuf.ByteString
getPostalCodeBytes()
The postal or ZIP code of the address.String
getRecipient()
The recipient name, potentially including information such as "care of".com.google.protobuf.ByteString
getRecipientBytes()
The recipient name, potentially including information such as "care of".String
getRegionCode()
The CLDR country/region of the address.com.google.protobuf.ByteString
getRegionCodeBytes()
The CLDR country/region of the address.int
getSerializedSize()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static TransactionData.Address.Builder
newBuilder()
static TransactionData.Address.Builder
newBuilder(TransactionData.Address prototype)
TransactionData.Address.Builder
newBuilderForType()
protected TransactionData.Address.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static TransactionData.Address
parseDelimitedFrom(InputStream input)
static TransactionData.Address
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransactionData.Address
parseFrom(byte[] data)
static TransactionData.Address
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransactionData.Address
parseFrom(com.google.protobuf.ByteString data)
static TransactionData.Address
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransactionData.Address
parseFrom(com.google.protobuf.CodedInputStream input)
static TransactionData.Address
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransactionData.Address
parseFrom(InputStream input)
static TransactionData.Address
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TransactionData.Address
parseFrom(ByteBuffer data)
static TransactionData.Address
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<TransactionData.Address>
parser()
TransactionData.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
-
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:
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
-
getRecipient
public String getRecipient()
The recipient name, potentially including information such as "care of".
string recipient = 1;
- Specified by:
getRecipient
in 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:
getRecipientBytes
in 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:
getAddressList
in 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:
getAddressCount
in 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:
getAddress
in 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:
getAddressBytes
in 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:
getLocality
in interfaceTransactionData.AddressOrBuilder
- Returns:
- The locality.
-
getLocalityBytes
public com.google.protobuf.ByteString getLocalityBytes()
The town/city of the address.
string locality = 3;
- Specified by:
getLocalityBytes
in 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:
getAdministrativeArea
in 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:
getAdministrativeAreaBytes
in interfaceTransactionData.AddressOrBuilder
- Returns:
- The bytes for administrativeArea.
-
getRegionCode
public String getRegionCode()
The CLDR country/region of the address.
string region_code = 5;
- Specified by:
getRegionCode
in 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:
getRegionCodeBytes
in 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:
getPostalCode
in 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:
getPostalCodeBytes
in interfaceTransactionData.AddressOrBuilder
- Returns:
- The bytes for postalCode.
-
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 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TransactionData.Address.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TransactionData.Address getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-