public static final class TransactionData.Address extends GeneratedMessageV3 implements TransactionData.AddressOrBuilder
Structured address format for billing and shipping addresses.
Protobuf type google.cloud.recaptchaenterprise.v1.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)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
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)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
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()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
The count of address.
|
getAddressList()
public ProtocolStringList getAddressList()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
getAdministrativeArea()
public String getAdministrativeArea()
Optional. The state, province, or otherwise administrative area of the
address.
string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The administrativeArea.
|
getAdministrativeAreaBytes()
public ByteString getAdministrativeAreaBytes()
Optional. The state, province, or otherwise administrative area of the
address.
string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for administrativeArea.
|
getDefaultInstanceForType()
public TransactionData.Address getDefaultInstanceForType()
getLocality()
public String getLocality()
Optional. The town/city of the address.
string locality = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The locality.
|
getLocalityBytes()
public ByteString getLocalityBytes()
Optional. The town/city of the address.
string locality = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for locality.
|
getParserForType()
public Parser<TransactionData.Address> getParserForType()
Overrides
getPostalCode()
public String getPostalCode()
Optional. The postal or ZIP code of the address.
string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The postalCode.
|
getPostalCodeBytes()
public ByteString getPostalCodeBytes()
Optional. The postal or ZIP code of the address.
string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for postalCode.
|
getRecipient()
public String getRecipient()
Optional. The recipient name, potentially including information such as
"care of".
string recipient = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The recipient.
|
getRecipientBytes()
public ByteString getRecipientBytes()
Optional. The recipient name, potentially including information such as
"care of".
string recipient = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for recipient.
|
getRegionCode()
public String getRegionCode()
Optional. The CLDR country/region of the address.
string region_code = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The regionCode.
|
getRegionCodeBytes()
public ByteString getRegionCodeBytes()
Optional. The CLDR country/region of the address.
string region_code = 5 [(.google.api.field_behavior) = OPTIONAL];
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