Class TransactionData.Address.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
- com.google.recaptchaenterprise.v1.TransactionData.Address.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,TransactionData.AddressOrBuilder
,Cloneable
- Enclosing class:
- TransactionData.Address
public static final class TransactionData.Address.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder> implements TransactionData.AddressOrBuilder
Structured address format for billing and shipping addresses.
Protobuf typegoogle.cloud.recaptchaenterprise.v1.TransactionData.Address
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionData.Address.Builder
addAddress(String value)
The first lines of the address.TransactionData.Address.Builder
addAddressBytes(com.google.protobuf.ByteString value)
The first lines of the address.TransactionData.Address.Builder
addAllAddress(Iterable<String> values)
The first lines of the address.TransactionData.Address.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TransactionData.Address
build()
TransactionData.Address
buildPartial()
TransactionData.Address.Builder
clear()
TransactionData.Address.Builder
clearAddress()
The first lines of the address.TransactionData.Address.Builder
clearAdministrativeArea()
The state, province, or otherwise administrative area of the address.TransactionData.Address.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TransactionData.Address.Builder
clearLocality()
The town/city of the address.TransactionData.Address.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TransactionData.Address.Builder
clearPostalCode()
The postal or ZIP code of the address.TransactionData.Address.Builder
clearRecipient()
The recipient name, potentially including information such as "care of".TransactionData.Address.Builder
clearRegionCode()
The CLDR country/region of the address.TransactionData.Address.Builder
clone()
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.TransactionData.Address
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getLocality()
The town/city of the address.com.google.protobuf.ByteString
getLocalityBytes()
The town/city of the address.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TransactionData.Address.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TransactionData.Address.Builder
mergeFrom(com.google.protobuf.Message other)
TransactionData.Address.Builder
mergeFrom(TransactionData.Address other)
TransactionData.Address.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TransactionData.Address.Builder
setAddress(int index, String value)
The first lines of the address.TransactionData.Address.Builder
setAdministrativeArea(String value)
The state, province, or otherwise administrative area of the address.TransactionData.Address.Builder
setAdministrativeAreaBytes(com.google.protobuf.ByteString value)
The state, province, or otherwise administrative area of the address.TransactionData.Address.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TransactionData.Address.Builder
setLocality(String value)
The town/city of the address.TransactionData.Address.Builder
setLocalityBytes(com.google.protobuf.ByteString value)
The town/city of the address.TransactionData.Address.Builder
setPostalCode(String value)
The postal or ZIP code of the address.TransactionData.Address.Builder
setPostalCodeBytes(com.google.protobuf.ByteString value)
The postal or ZIP code of the address.TransactionData.Address.Builder
setRecipient(String value)
The recipient name, potentially including information such as "care of".TransactionData.Address.Builder
setRecipientBytes(com.google.protobuf.ByteString value)
The recipient name, potentially including information such as "care of".TransactionData.Address.Builder
setRegionCode(String value)
The CLDR country/region of the address.TransactionData.Address.Builder
setRegionCodeBytes(com.google.protobuf.ByteString value)
The CLDR country/region of the address.TransactionData.Address.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TransactionData.Address.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<TransactionData.Address.Builder>
-
clear
public TransactionData.Address.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
getDefaultInstanceForType
public TransactionData.Address getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionData.Address build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionData.Address buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionData.Address.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
setField
public TransactionData.Address.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
clearField
public TransactionData.Address.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
clearOneof
public TransactionData.Address.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
setRepeatedField
public TransactionData.Address.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
addRepeatedField
public TransactionData.Address.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
mergeFrom
public TransactionData.Address.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionData.Address.Builder>
-
mergeFrom
public TransactionData.Address.Builder mergeFrom(TransactionData.Address other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
mergeFrom
public TransactionData.Address.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransactionData.Address.Builder>
- Throws:
IOException
-
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.
-
setRecipient
public TransactionData.Address.Builder setRecipient(String value)
The recipient name, potentially including information such as "care of".
string recipient = 1;
- Parameters:
value
- The recipient to set.- Returns:
- This builder for chaining.
-
clearRecipient
public TransactionData.Address.Builder clearRecipient()
The recipient name, potentially including information such as "care of".
string recipient = 1;
- Returns:
- This builder for chaining.
-
setRecipientBytes
public TransactionData.Address.Builder setRecipientBytes(com.google.protobuf.ByteString value)
The recipient name, potentially including information such as "care of".
string recipient = 1;
- Parameters:
value
- The bytes for recipient to set.- Returns:
- This builder for chaining.
-
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.
-
setAddress
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:
index
- The index to set the value at.value
- The address to set.- Returns:
- This builder for chaining.
-
addAddress
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;
- Parameters:
value
- The address to add.- Returns:
- This builder for chaining.
-
addAllAddress
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;
- Parameters:
values
- The address to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addAddressBytes
public TransactionData.Address.Builder addAddressBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes of the address to add.- Returns:
- This builder for chaining.
-
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.
-
setLocality
public TransactionData.Address.Builder setLocality(String value)
The town/city of the address.
string locality = 3;
- Parameters:
value
- The locality to set.- Returns:
- This builder for chaining.
-
clearLocality
public TransactionData.Address.Builder clearLocality()
The town/city of the address.
string locality = 3;
- Returns:
- This builder for chaining.
-
setLocalityBytes
public TransactionData.Address.Builder setLocalityBytes(com.google.protobuf.ByteString value)
The town/city of the address.
string locality = 3;
- Parameters:
value
- The bytes for locality to set.- Returns:
- This builder for chaining.
-
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.
-
setAdministrativeArea
public TransactionData.Address.Builder setAdministrativeArea(String value)
The state, province, or otherwise administrative area of the address.
string administrative_area = 4;
- Parameters:
value
- The administrativeArea to set.- Returns:
- 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:
- This builder for chaining.
-
setAdministrativeAreaBytes
public TransactionData.Address.Builder setAdministrativeAreaBytes(com.google.protobuf.ByteString value)
The state, province, or otherwise administrative area of the address.
string administrative_area = 4;
- Parameters:
value
- The bytes for administrativeArea to set.- Returns:
- This builder for chaining.
-
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.
-
setRegionCode
public TransactionData.Address.Builder setRegionCode(String value)
The CLDR country/region of the address.
string region_code = 5;
- Parameters:
value
- The regionCode to set.- Returns:
- This builder for chaining.
-
clearRegionCode
public TransactionData.Address.Builder clearRegionCode()
The CLDR country/region of the address.
string region_code = 5;
- Returns:
- This builder for chaining.
-
setRegionCodeBytes
public TransactionData.Address.Builder setRegionCodeBytes(com.google.protobuf.ByteString value)
The CLDR country/region of the address.
string region_code = 5;
- Parameters:
value
- The bytes for regionCode to set.- Returns:
- This builder for chaining.
-
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.
-
setPostalCode
public TransactionData.Address.Builder setPostalCode(String value)
The postal or ZIP code of the address.
string postal_code = 6;
- Parameters:
value
- The postalCode to set.- Returns:
- This builder for chaining.
-
clearPostalCode
public TransactionData.Address.Builder clearPostalCode()
The postal or ZIP code of the address.
string postal_code = 6;
- Returns:
- This builder for chaining.
-
setPostalCodeBytes
public TransactionData.Address.Builder setPostalCodeBytes(com.google.protobuf.ByteString value)
The postal or ZIP code of the address.
string postal_code = 6;
- Parameters:
value
- The bytes for postalCode to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TransactionData.Address.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
mergeUnknownFields
public final TransactionData.Address.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
-