public final class HeadlineOfferInstallment extends GeneratedMessage implements HeadlineOfferInstallmentOrBuilderA message that represents installment.
Protobuf type google.shopping.css.v1.HeadlineOfferInstallment
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > HeadlineOfferInstallmentImplements
HeadlineOfferInstallmentOrBuilderStatic Fields
AMOUNT_FIELD_NUMBER
public static final int AMOUNT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DOWNPAYMENT_FIELD_NUMBER
public static final int DOWNPAYMENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
MONTHS_FIELD_NUMBER
public static final int MONTHS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static HeadlineOfferInstallment getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static HeadlineOfferInstallment.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
newBuilder(HeadlineOfferInstallment prototype)
public static HeadlineOfferInstallment.Builder newBuilder(HeadlineOfferInstallment prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
HeadlineOfferInstallment |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
parseDelimitedFrom(InputStream input)
public static HeadlineOfferInstallment parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static HeadlineOfferInstallment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static HeadlineOfferInstallment parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static HeadlineOfferInstallment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static HeadlineOfferInstallment parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static HeadlineOfferInstallment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static HeadlineOfferInstallment parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static HeadlineOfferInstallment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static HeadlineOfferInstallment parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static HeadlineOfferInstallment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static HeadlineOfferInstallment parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static HeadlineOfferInstallment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<HeadlineOfferInstallment> parser()| Returns | |
|---|---|
| Type | Description |
Parser<HeadlineOfferInstallment> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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. |
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 |
|
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. |
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. |
getParserForType()
public Parser<HeadlineOfferInstallment> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<HeadlineOfferInstallment> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public HeadlineOfferInstallment.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected HeadlineOfferInstallment.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
toBuilder()
public HeadlineOfferInstallment.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
HeadlineOfferInstallment.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|