public static final class StandardOffer.PriceModel.FlatFeeSubscription extends GeneratedMessage implements StandardOffer.PriceModel.FlatFeeSubscriptionOrBuilderPrice configurations for flat fee subscriptions.
Protobuf type
google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.FlatFeeSubscription
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > StandardOffer.PriceModel.FlatFeeSubscriptionStatic Fields
SKU_FIELD_NUMBER
public static final int SKU_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static StandardOffer.PriceModel.FlatFeeSubscription getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static StandardOffer.PriceModel.FlatFeeSubscription.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription.Builder |
|
newBuilder(StandardOffer.PriceModel.FlatFeeSubscription prototype)
public static StandardOffer.PriceModel.FlatFeeSubscription.Builder newBuilder(StandardOffer.PriceModel.FlatFeeSubscription prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
StandardOffer.PriceModel.FlatFeeSubscription |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription.Builder |
|
parseDelimitedFrom(InputStream input)
public static StandardOffer.PriceModel.FlatFeeSubscription parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StandardOffer.PriceModel.FlatFeeSubscription parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static StandardOffer.PriceModel.FlatFeeSubscription parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StandardOffer.PriceModel.FlatFeeSubscription parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static StandardOffer.PriceModel.FlatFeeSubscription parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StandardOffer.PriceModel.FlatFeeSubscription parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static StandardOffer.PriceModel.FlatFeeSubscription parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StandardOffer.PriceModel.FlatFeeSubscription parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static StandardOffer.PriceModel.FlatFeeSubscription parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StandardOffer.PriceModel.FlatFeeSubscription parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static StandardOffer.PriceModel.FlatFeeSubscription parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StandardOffer.PriceModel.FlatFeeSubscription parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<StandardOffer.PriceModel.FlatFeeSubscription> parser()| Returns | |
|---|---|
| Type | Description |
Parser<FlatFeeSubscription> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public StandardOffer.PriceModel.FlatFeeSubscription getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription |
|
getParserForType()
public Parser<StandardOffer.PriceModel.FlatFeeSubscription> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<FlatFeeSubscription> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getSku()
public String getSku()Output only. Flat fee subscription SKU for the offer.
string sku = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The sku. |
getSkuBytes()
public ByteString getSkuBytes()Output only. Flat fee subscription SKU for the offer.
string sku = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sku. |
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 StandardOffer.PriceModel.FlatFeeSubscription.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected StandardOffer.PriceModel.FlatFeeSubscription.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription.Builder |
|
toBuilder()
public StandardOffer.PriceModel.FlatFeeSubscription.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
StandardOffer.PriceModel.FlatFeeSubscription.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|