public static final class PrivateOffer.SingleProductOffer.StandardIntervalPrice extends GeneratedMessage implements PrivateOffer.SingleProductOffer.StandardIntervalPriceOrBuilderPrice configurations for offers with standard intervals.
Protobuf type
google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.StandardIntervalPrice
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > PrivateOffer.SingleProductOffer.StandardIntervalPriceStatic Fields
PRICE_MODEL_FIELD_NUMBER
public static final int PRICE_MODEL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STANDARD_INTERVAL_FIELD_NUMBER
public static final int STANDARD_INTERVAL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice.Builder |
|
newBuilder(PrivateOffer.SingleProductOffer.StandardIntervalPrice prototype)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice.Builder newBuilder(PrivateOffer.SingleProductOffer.StandardIntervalPrice prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice.Builder |
|
parseDelimitedFrom(InputStream input)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PrivateOffer.SingleProductOffer.StandardIntervalPrice parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<PrivateOffer.SingleProductOffer.StandardIntervalPrice> parser()| Returns | |
|---|---|
| Type | Description |
Parser<StandardIntervalPrice> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public PrivateOffer.SingleProductOffer.StandardIntervalPrice getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice |
|
getParserForType()
public Parser<PrivateOffer.SingleProductOffer.StandardIntervalPrice> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<StandardIntervalPrice> |
|
getPriceModel()
public PrivateOffer.SingleProductOffer.PriceModel getPriceModel()Optional. The price model of the offer. Must be present to publish the offer.
.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.PriceModel price_model = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.PriceModel |
The priceModel. |
getPriceModelOrBuilder()
public PrivateOffer.SingleProductOffer.PriceModelOrBuilder getPriceModelOrBuilder()Optional. The price model of the offer. Must be present to publish the offer.
.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.PriceModel price_model = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.PriceModelOrBuilder |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getStandardInterval()
public PrivateOffer.SingleProductOffer.StandardIntervalPrice.StandardInterval getStandardInterval()Optional. The standard interval of the offer. Must be present to publish unless the price model is usage-only.
.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.StandardIntervalPrice.StandardInterval standard_interval = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice.StandardInterval |
The standardInterval. |
getStandardIntervalValue()
public int getStandardIntervalValue()Optional. The standard interval of the offer. Must be present to publish unless the price model is usage-only.
.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.StandardIntervalPrice.StandardInterval standard_interval = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for standardInterval. |
hasPriceModel()
public boolean hasPriceModel()Optional. The price model of the offer. Must be present to publish the offer.
.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.PriceModel price_model = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the priceModel 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 PrivateOffer.SingleProductOffer.StandardIntervalPrice.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected PrivateOffer.SingleProductOffer.StandardIntervalPrice.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice.Builder |
|
toBuilder()
public PrivateOffer.SingleProductOffer.StandardIntervalPrice.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.StandardIntervalPrice.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|