public static final class HeadlineOfferInstallment.Builder extends GeneratedMessage.Builder<HeadlineOfferInstallment.Builder> implements HeadlineOfferInstallmentOrBuilderA message that represents installment.
Protobuf type google.shopping.css.v1.HeadlineOfferInstallment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HeadlineOfferInstallment.BuilderImplements
HeadlineOfferInstallmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public HeadlineOfferInstallment build()| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
buildPartial()
public HeadlineOfferInstallment buildPartial()| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
clear()
public HeadlineOfferInstallment.Builder clear()| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
clearAmount()
public HeadlineOfferInstallment.Builder clearAmount()The amount the buyer has to pay per month.
.google.shopping.type.Price amount = 2;
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
clearDownpayment()
public HeadlineOfferInstallment.Builder clearDownpayment()The up-front down payment amount the buyer has to pay.
.google.shopping.type.Price downpayment = 3;
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
clearMonths()
public HeadlineOfferInstallment.Builder clearMonths()The number of installments the buyer has to pay.
int64 months = 1;
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
This builder for chaining. |
getAmount()
public Price getAmount()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. |
getAmountBuilder()
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 |
|
getAmountOrBuilder()
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 |
|
getDefaultInstanceForType()
public HeadlineOfferInstallment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDownpayment()
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. |
getDownpaymentBuilder()
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 |
|
getDownpaymentOrBuilder()
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 |
|
getMonths()
public long getMonths()The number of installments the buyer has to pay.
int64 months = 1;
| Returns | |
|---|---|
| Type | Description |
long |
The months. |
hasAmount()
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. |
hasDownpayment()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAmount(Price value)
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 |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
mergeDownpayment(Price value)
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 |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public HeadlineOfferInstallment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public HeadlineOfferInstallment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
mergeFrom(HeadlineOfferInstallment other)
public HeadlineOfferInstallment.Builder mergeFrom(HeadlineOfferInstallment other)| Parameter | |
|---|---|
| Name | Description |
other |
HeadlineOfferInstallment |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
setAmount(Price value)
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 |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
setAmount(Price.Builder builderForValue)
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 |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
setDownpayment(Price value)
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 |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
setDownpayment(Price.Builder builderForValue)
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 |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
setMonths(long value)
public HeadlineOfferInstallment.Builder setMonths(long value)The number of installments the buyer has to pay.
int64 months = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe months to set. |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
This builder for chaining. |