public static final class TransactionData.Address extends GeneratedMessageV3 implements TransactionData.AddressOrBuilder
Structured address format for billing and shipping addresses.
Protobuf type google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ADMINISTRATIVE_AREA_FIELD_NUMBER
public static final int ADMINISTRATIVE_AREA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LOCALITY_FIELD_NUMBER
public static final int LOCALITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POSTAL_CODE_FIELD_NUMBER
public static final int POSTAL_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RECIPIENT_FIELD_NUMBER
public static final int RECIPIENT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REGION_CODE_FIELD_NUMBER
public static final int REGION_CODE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static TransactionData.Address getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TransactionData.Address.Builder newBuilder()
newBuilder(TransactionData.Address prototype)
public static TransactionData.Address.Builder newBuilder(TransactionData.Address prototype)
public static TransactionData.Address parseDelimitedFrom(InputStream input)
public static TransactionData.Address parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TransactionData.Address parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransactionData.Address parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TransactionData.Address parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransactionData.Address parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransactionData.Address parseFrom(CodedInputStream input)
public static TransactionData.Address parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransactionData.Address parseFrom(InputStream input)
public static TransactionData.Address parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TransactionData.Address parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransactionData.Address parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TransactionData.Address> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAddress(int index)
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;
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The address at the given index.
|
getAddressBytes(int index)
public 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;
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the address at the given index.
|
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;
Returns |
Type |
Description |
int |
The count of address.
|
getAddressList()
public 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;
getAdministrativeArea()
public String getAdministrativeArea()
The state, province, or otherwise administrative area of the address.
string administrative_area = 4;
Returns |
Type |
Description |
String |
The administrativeArea.
|
getAdministrativeAreaBytes()
public ByteString getAdministrativeAreaBytes()
The state, province, or otherwise administrative area of the address.
string administrative_area = 4;
Returns |
Type |
Description |
ByteString |
The bytes for administrativeArea.
|
getDefaultInstanceForType()
public TransactionData.Address getDefaultInstanceForType()
getLocality()
public String getLocality()
The town/city of the address.
string locality = 3;
Returns |
Type |
Description |
String |
The locality.
|
getLocalityBytes()
public ByteString getLocalityBytes()
The town/city of the address.
string locality = 3;
Returns |
Type |
Description |
ByteString |
The bytes for locality.
|
getParserForType()
public Parser<TransactionData.Address> getParserForType()
Overrides
getPostalCode()
public String getPostalCode()
The postal or ZIP code of the address.
string postal_code = 6;
Returns |
Type |
Description |
String |
The postalCode.
|
getPostalCodeBytes()
public ByteString getPostalCodeBytes()
The postal or ZIP code of the address.
string postal_code = 6;
Returns |
Type |
Description |
ByteString |
The bytes for postalCode.
|
getRecipient()
public String getRecipient()
The recipient name, potentially including information such as "care of".
string recipient = 1;
Returns |
Type |
Description |
String |
The recipient.
|
getRecipientBytes()
public ByteString getRecipientBytes()
The recipient name, potentially including information such as "care of".
string recipient = 1;
Returns |
Type |
Description |
ByteString |
The bytes for recipient.
|
getRegionCode()
public String getRegionCode()
The CLDR country/region of the address.
string region_code = 5;
Returns |
Type |
Description |
String |
The regionCode.
|
getRegionCodeBytes()
public ByteString getRegionCodeBytes()
The CLDR country/region of the address.
string region_code = 5;
Returns |
Type |
Description |
ByteString |
The bytes for regionCode.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TransactionData.Address.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransactionData.Address.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TransactionData.Address.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides