- 3.50.0 (latest)
- 3.49.0
- 3.48.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.12
- 2.6.1
- 2.5.0
- 2.4.10
- 2.3.1
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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TransactionData.AddressImplements
TransactionData.AddressOrBuilderStatic 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()
Returns | |
---|---|
Type | Description |
TransactionData.Address |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static TransactionData.Address.Builder newBuilder()
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
newBuilder(TransactionData.Address prototype)
public static TransactionData.Address.Builder newBuilder(TransactionData.Address prototype)
Parameter | |
---|---|
Name | Description |
prototype | TransactionData.Address |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
parseDelimitedFrom(InputStream input)
public static TransactionData.Address parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransactionData.Address parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static TransactionData.Address parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransactionData.Address parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static TransactionData.Address parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransactionData.Address parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static TransactionData.Address parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransactionData.Address parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static TransactionData.Address parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransactionData.Address parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static TransactionData.Address parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransactionData.Address parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransactionData.Address |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<TransactionData.Address> parser()
Returns | |
---|---|
Type | Description |
Parser<Address> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the address. |
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()
Returns | |
---|---|
Type | Description |
TransactionData.Address |
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()
Returns | |
---|---|
Type | Description |
Parser<Address> |
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 |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns | |
---|---|
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public TransactionData.Address.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransactionData.Address.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public TransactionData.Address.Builder toBuilder()
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |