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.BuilderaddAddress(String value)The first lines of the address.TransactionData.Address.BuilderaddAddressBytes(com.google.protobuf.ByteString value)The first lines of the address.TransactionData.Address.BuilderaddAllAddress(Iterable<String> values)The first lines of the address.TransactionData.Address.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TransactionData.Addressbuild()TransactionData.AddressbuildPartial()TransactionData.Address.Builderclear()TransactionData.Address.BuilderclearAddress()The first lines of the address.TransactionData.Address.BuilderclearAdministrativeArea()The state, province, or otherwise administrative area of the address.TransactionData.Address.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TransactionData.Address.BuilderclearLocality()The town/city of the address.TransactionData.Address.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TransactionData.Address.BuilderclearPostalCode()The postal or ZIP code of the address.TransactionData.Address.BuilderclearRecipient()The recipient name, potentially including information such as "care of".TransactionData.Address.BuilderclearRegionCode()The CLDR country/region of the address.TransactionData.Address.Builderclone()StringgetAddress(int index)The first lines of the address.com.google.protobuf.ByteStringgetAddressBytes(int index)The first lines of the address.intgetAddressCount()The first lines of the address.com.google.protobuf.ProtocolStringListgetAddressList()The first lines of the address.StringgetAdministrativeArea()The state, province, or otherwise administrative area of the address.com.google.protobuf.ByteStringgetAdministrativeAreaBytes()The state, province, or otherwise administrative area of the address.TransactionData.AddressgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetLocality()The town/city of the address.com.google.protobuf.ByteStringgetLocalityBytes()The town/city of the address.StringgetPostalCode()The postal or ZIP code of the address.com.google.protobuf.ByteStringgetPostalCodeBytes()The postal or ZIP code of the address.StringgetRecipient()The recipient name, potentially including information such as "care of".com.google.protobuf.ByteStringgetRecipientBytes()The recipient name, potentially including information such as "care of".StringgetRegionCode()The CLDR country/region of the address.com.google.protobuf.ByteStringgetRegionCodeBytes()The CLDR country/region of the address.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TransactionData.Address.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TransactionData.Address.BuildermergeFrom(com.google.protobuf.Message other)TransactionData.Address.BuildermergeFrom(TransactionData.Address other)TransactionData.Address.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TransactionData.Address.BuildersetAddress(int index, String value)The first lines of the address.TransactionData.Address.BuildersetAdministrativeArea(String value)The state, province, or otherwise administrative area of the address.TransactionData.Address.BuildersetAdministrativeAreaBytes(com.google.protobuf.ByteString value)The state, province, or otherwise administrative area of the address.TransactionData.Address.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TransactionData.Address.BuildersetLocality(String value)The town/city of the address.TransactionData.Address.BuildersetLocalityBytes(com.google.protobuf.ByteString value)The town/city of the address.TransactionData.Address.BuildersetPostalCode(String value)The postal or ZIP code of the address.TransactionData.Address.BuildersetPostalCodeBytes(com.google.protobuf.ByteString value)The postal or ZIP code of the address.TransactionData.Address.BuildersetRecipient(String value)The recipient name, potentially including information such as "care of".TransactionData.Address.BuildersetRecipientBytes(com.google.protobuf.ByteString value)The recipient name, potentially including information such as "care of".TransactionData.Address.BuildersetRegionCode(String value)The CLDR country/region of the address.TransactionData.Address.BuildersetRegionCodeBytes(com.google.protobuf.ByteString value)The CLDR country/region of the address.TransactionData.Address.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TransactionData.Address.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
clear
public TransactionData.Address.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
getDefaultInstanceForType
public TransactionData.Address getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransactionData.Address build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransactionData.Address buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransactionData.Address.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
setField
public TransactionData.Address.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
clearField
public TransactionData.Address.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
clearOneof
public TransactionData.Address.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
addRepeatedField
public TransactionData.Address.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
mergeFrom
public TransactionData.Address.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransactionData.Address.Builder>
-
mergeFrom
public TransactionData.Address.Builder mergeFrom(TransactionData.Address other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getRecipientin 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:
getRecipientBytesin 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:
getAddressListin 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:
getAddressCountin 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:
getAddressin 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:
getAddressBytesin 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:
getLocalityin interfaceTransactionData.AddressOrBuilder- Returns:
- The locality.
-
getLocalityBytes
public com.google.protobuf.ByteString getLocalityBytes()
The town/city of the address.
string locality = 3;- Specified by:
getLocalityBytesin 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:
getAdministrativeAreain 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:
getAdministrativeAreaBytesin 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:
getRegionCodein 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:
getRegionCodeBytesin 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:
getPostalCodein 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:
getPostalCodeBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
mergeUnknownFields
public final TransactionData.Address.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
-
-