- 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.Builder extends GeneratedMessageV3.Builder<TransactionData.Address.Builder> implements TransactionData.AddressOrBuilder
Structured address format for billing and shipping addresses.
Protobuf type google.cloud.recaptchaenterprise.v1beta1.TransactionData.Address
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransactionData.Address.BuilderImplements
TransactionData.AddressOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAddress(String value)
public TransactionData.Address.Builder addAddress(String value)
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 |
value |
String The address to add. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
addAddressBytes(ByteString value)
public TransactionData.Address.Builder addAddressBytes(ByteString value)
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 |
value |
ByteString The bytes of the address to add. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
addAllAddress(Iterable<String> values)
public TransactionData.Address.Builder addAllAddress(Iterable<String> values)
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 |
values |
Iterable<String> The address to add. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransactionData.Address.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
build()
public TransactionData.Address build()
Returns | |
---|---|
Type | Description |
TransactionData.Address |
buildPartial()
public TransactionData.Address buildPartial()
Returns | |
---|---|
Type | Description |
TransactionData.Address |
clear()
public TransactionData.Address.Builder clear()
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
clearAddress()
public TransactionData.Address.Builder clearAddress()
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 |
TransactionData.Address.Builder |
This builder for chaining. |
clearAdministrativeArea()
public TransactionData.Address.Builder clearAdministrativeArea()
The state, province, or otherwise administrative area of the address.
string administrative_area = 4;
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TransactionData.Address.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
clearLocality()
public TransactionData.Address.Builder clearLocality()
The town/city of the address.
string locality = 3;
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TransactionData.Address.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
clearPostalCode()
public TransactionData.Address.Builder clearPostalCode()
The postal or ZIP code of the address.
string postal_code = 6;
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
clearRecipient()
public TransactionData.Address.Builder clearRecipient()
The recipient name, potentially including information such as "care of".
string recipient = 1;
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
clearRegionCode()
public TransactionData.Address.Builder clearRegionCode()
The CLDR country/region of the address.
string region_code = 5;
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
clone()
public TransactionData.Address.Builder clone()
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TransactionData.Address.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TransactionData.Address.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
mergeFrom(TransactionData.Address other)
public TransactionData.Address.Builder mergeFrom(TransactionData.Address other)
Parameter | |
---|---|
Name | Description |
other |
TransactionData.Address |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransactionData.Address.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
setAddress(int index, String value)
public TransactionData.Address.Builder setAddress(int index, String value)
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The address to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
setAdministrativeArea(String value)
public TransactionData.Address.Builder setAdministrativeArea(String value)
The state, province, or otherwise administrative area of the address.
string administrative_area = 4;
Parameter | |
---|---|
Name | Description |
value |
String The administrativeArea to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
setAdministrativeAreaBytes(ByteString value)
public TransactionData.Address.Builder setAdministrativeAreaBytes(ByteString value)
The state, province, or otherwise administrative area of the address.
string administrative_area = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for administrativeArea to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TransactionData.Address.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
setLocality(String value)
public TransactionData.Address.Builder setLocality(String value)
The town/city of the address.
string locality = 3;
Parameter | |
---|---|
Name | Description |
value |
String The locality to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
setLocalityBytes(ByteString value)
public TransactionData.Address.Builder setLocalityBytes(ByteString value)
The town/city of the address.
string locality = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for locality to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
setPostalCode(String value)
public TransactionData.Address.Builder setPostalCode(String value)
The postal or ZIP code of the address.
string postal_code = 6;
Parameter | |
---|---|
Name | Description |
value |
String The postalCode to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
setPostalCodeBytes(ByteString value)
public TransactionData.Address.Builder setPostalCodeBytes(ByteString value)
The postal or ZIP code of the address.
string postal_code = 6;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for postalCode to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
setRecipient(String value)
public TransactionData.Address.Builder setRecipient(String value)
The recipient name, potentially including information such as "care of".
string recipient = 1;
Parameter | |
---|---|
Name | Description |
value |
String The recipient to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
setRecipientBytes(ByteString value)
public TransactionData.Address.Builder setRecipientBytes(ByteString value)
The recipient name, potentially including information such as "care of".
string recipient = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for recipient to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
setRegionCode(String value)
public TransactionData.Address.Builder setRegionCode(String value)
The CLDR country/region of the address.
string region_code = 5;
Parameter | |
---|---|
Name | Description |
value |
String The regionCode to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
setRegionCodeBytes(ByteString value)
public TransactionData.Address.Builder setRegionCodeBytes(ByteString value)
The CLDR country/region of the address.
string region_code = 5;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for regionCode to set. |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransactionData.Address.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransactionData.Address.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TransactionData.Address.Builder |