public static final class HeadlineOfferInstallment.Builder extends GeneratedMessageV3.Builder<HeadlineOfferInstallment.Builder> implements HeadlineOfferInstallmentOrBuilder
A message that represents installment.
Protobuf type google.shopping.css.v1.HeadlineOfferInstallment
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public HeadlineOfferInstallment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public HeadlineOfferInstallment build()
public HeadlineOfferInstallment buildPartial()
public HeadlineOfferInstallment.Builder clear()
Overrides
public HeadlineOfferInstallment.Builder clearAmount()
The amount the buyer has to pay per month.
.google.shopping.type.Price amount = 2;
public HeadlineOfferInstallment.Builder clearDownpayment()
The up-front down payment amount the buyer has to pay.
.google.shopping.type.Price downpayment = 3;
public HeadlineOfferInstallment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public HeadlineOfferInstallment.Builder clearMonths()
The number of installments the buyer has to pay.
int64 months = 1;
public HeadlineOfferInstallment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public HeadlineOfferInstallment.Builder clone()
Overrides
The amount the buyer has to pay per month.
.google.shopping.type.Price amount = 2;
Returns |
Type |
Description |
com.google.shopping.type.Price |
The amount.
|
public Price.Builder getAmountBuilder()
The amount the buyer has to pay per month.
.google.shopping.type.Price amount = 2;
Returns |
Type |
Description |
com.google.shopping.type.Price.Builder |
|
public PriceOrBuilder getAmountOrBuilder()
The amount the buyer has to pay per month.
.google.shopping.type.Price amount = 2;
Returns |
Type |
Description |
com.google.shopping.type.PriceOrBuilder |
|
public HeadlineOfferInstallment getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public Price getDownpayment()
The up-front down payment amount the buyer has to pay.
.google.shopping.type.Price downpayment = 3;
Returns |
Type |
Description |
com.google.shopping.type.Price |
The downpayment.
|
public Price.Builder getDownpaymentBuilder()
The up-front down payment amount the buyer has to pay.
.google.shopping.type.Price downpayment = 3;
Returns |
Type |
Description |
com.google.shopping.type.Price.Builder |
|
public PriceOrBuilder getDownpaymentOrBuilder()
The up-front down payment amount the buyer has to pay.
.google.shopping.type.Price downpayment = 3;
Returns |
Type |
Description |
com.google.shopping.type.PriceOrBuilder |
|
The number of installments the buyer has to pay.
int64 months = 1;
Returns |
Type |
Description |
long |
The months.
|
public boolean hasAmount()
The amount the buyer has to pay per month.
.google.shopping.type.Price amount = 2;
Returns |
Type |
Description |
boolean |
Whether the amount field is set.
|
public boolean hasDownpayment()
The up-front down payment amount the buyer has to pay.
.google.shopping.type.Price downpayment = 3;
Returns |
Type |
Description |
boolean |
Whether the downpayment field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public HeadlineOfferInstallment.Builder mergeAmount(Price value)
The amount the buyer has to pay per month.
.google.shopping.type.Price amount = 2;
Parameter |
Name |
Description |
value |
com.google.shopping.type.Price
|
public HeadlineOfferInstallment.Builder mergeDownpayment(Price value)
The up-front down payment amount the buyer has to pay.
.google.shopping.type.Price downpayment = 3;
Parameter |
Name |
Description |
value |
com.google.shopping.type.Price
|
public HeadlineOfferInstallment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public HeadlineOfferInstallment.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public HeadlineOfferInstallment.Builder mergeFrom(HeadlineOfferInstallment other)
public final HeadlineOfferInstallment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public HeadlineOfferInstallment.Builder setAmount(Price value)
The amount the buyer has to pay per month.
.google.shopping.type.Price amount = 2;
Parameter |
Name |
Description |
value |
com.google.shopping.type.Price
|
public HeadlineOfferInstallment.Builder setAmount(Price.Builder builderForValue)
The amount the buyer has to pay per month.
.google.shopping.type.Price amount = 2;
Parameter |
Name |
Description |
builderForValue |
com.google.shopping.type.Price.Builder
|
public HeadlineOfferInstallment.Builder setDownpayment(Price value)
The up-front down payment amount the buyer has to pay.
.google.shopping.type.Price downpayment = 3;
Parameter |
Name |
Description |
value |
com.google.shopping.type.Price
|
public HeadlineOfferInstallment.Builder setDownpayment(Price.Builder builderForValue)
The up-front down payment amount the buyer has to pay.
.google.shopping.type.Price downpayment = 3;
Parameter |
Name |
Description |
builderForValue |
com.google.shopping.type.Price.Builder
|
public HeadlineOfferInstallment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public HeadlineOfferInstallment.Builder setMonths(long value)
The number of installments the buyer has to pay.
int64 months = 1;
Parameter |
Name |
Description |
value |
long
The months to set.
|
public HeadlineOfferInstallment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final HeadlineOfferInstallment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides