- 3.75.0 (latest)
 - 3.73.0
 - 3.72.0
 - 3.71.0
 - 3.70.0
 - 3.69.0
 - 3.67.0
 - 3.65.0
 - 3.64.0
 - 3.61.0
 - 3.60.0
 - 3.59.0
 - 3.57.0
 - 3.56.0
 - 3.55.0
 - 3.54.0
 - 3.53.0
 - 3.52.0
 - 3.51.0
 - 3.50.0
 - 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.Item.Builder extends GeneratedMessageV3.Builder<TransactionData.Item.Builder> implements TransactionData.ItemOrBuilderLine items being purchased in this transaction.
 Protobuf type google.cloud.recaptchaenterprise.v1.TransactionData.Item
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TransactionData.Item.BuilderImplements
TransactionData.ItemOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransactionData.Item.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
build()
public TransactionData.Item build()| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item | 
        |
buildPartial()
public TransactionData.Item buildPartial()| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item | 
        |
clear()
public TransactionData.Item.Builder clear()| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public TransactionData.Item.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
clearMerchantAccountId()
public TransactionData.Item.Builder clearMerchantAccountId()When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
 string merchant_account_id = 4;
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        This builder for chaining.  | 
      
clearName()
public TransactionData.Item.Builder clearName()The full name of the item.
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public TransactionData.Item.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
clearQuantity()
public TransactionData.Item.Builder clearQuantity()The quantity of this item that is being purchased.
 int64 quantity = 3;
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        This builder for chaining.  | 
      
clearValue()
public TransactionData.Item.Builder clearValue()The value per item that the user is paying, in the transaction currency, after discounts.
 double value = 2;
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        This builder for chaining.  | 
      
clone()
public TransactionData.Item.Builder clone()| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
getDefaultInstanceForType()
public TransactionData.Item getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getMerchantAccountId()
public String getMerchantAccountId()When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
 string merchant_account_id = 4;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The merchantAccountId.  | 
      
getMerchantAccountIdBytes()
public ByteString getMerchantAccountIdBytes()When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
 string merchant_account_id = 4;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for merchantAccountId.  | 
      
getName()
public String getName()The full name of the item.
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The name.  | 
      
getNameBytes()
public ByteString getNameBytes()The full name of the item.
 string name = 1;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for name.  | 
      
getQuantity()
public long getQuantity()The quantity of this item that is being purchased.
 int64 quantity = 3;
| Returns | |
|---|---|
| Type | Description | 
long | 
        The quantity.  | 
      
getValue()
public double getValue()The value per item that the user is paying, in the transaction currency, after discounts.
 double value = 2;
| Returns | |
|---|---|
| Type | Description | 
double | 
        The value.  | 
      
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.Item.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public TransactionData.Item.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
mergeFrom(TransactionData.Item other)
public TransactionData.Item.Builder mergeFrom(TransactionData.Item other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        TransactionData.Item | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransactionData.Item.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public TransactionData.Item.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
setMerchantAccountId(String value)
public TransactionData.Item.Builder setMerchantAccountId(String value)When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
 string merchant_account_id = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe merchantAccountId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        This builder for chaining.  | 
      
setMerchantAccountIdBytes(ByteString value)
public TransactionData.Item.Builder setMerchantAccountIdBytes(ByteString value)When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
 string merchant_account_id = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for merchantAccountId to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        This builder for chaining.  | 
      
setName(String value)
public TransactionData.Item.Builder setName(String value)The full name of the item.
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        This builder for chaining.  | 
      
setNameBytes(ByteString value)
public TransactionData.Item.Builder setNameBytes(ByteString value)The full name of the item.
 string name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for name to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        This builder for chaining.  | 
      
setQuantity(long value)
public TransactionData.Item.Builder setQuantity(long value)The quantity of this item that is being purchased.
 int64 quantity = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        longThe quantity to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransactionData.Item.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final TransactionData.Item.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        |
setValue(double value)
public TransactionData.Item.Builder setValue(double value)The value per item that the user is paying, in the transaction currency, after discounts.
 double value = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        doubleThe value to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
TransactionData.Item.Builder | 
        This builder for chaining.  |