Class StandardOffer.PriceModel.FlatFeeSubscription.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class StandardOffer.PriceModel.FlatFeeSubscription.Builder extends GeneratedMessage.Builder<StandardOffer.PriceModel.FlatFeeSubscription.Builder> implements StandardOffer.PriceModel.FlatFeeSubscriptionOrBuilder
Price configurations for flat fee subscriptions.
Protobuf type
google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.FlatFeeSubscription
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public StandardOffer.PriceModel.FlatFeeSubscription build()
buildPartial()
public StandardOffer.PriceModel.FlatFeeSubscription buildPartial()
clear()
public StandardOffer.PriceModel.FlatFeeSubscription.Builder clear()
Overrides
clearSku()
public StandardOffer.PriceModel.FlatFeeSubscription.Builder clearSku()
Output only. Flat fee subscription SKU for the offer.
string sku = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
getDefaultInstanceForType()
public StandardOffer.PriceModel.FlatFeeSubscription getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StandardOffer.PriceModel.FlatFeeSubscription other)
public StandardOffer.PriceModel.FlatFeeSubscription.Builder mergeFrom(StandardOffer.PriceModel.FlatFeeSubscription other)
public StandardOffer.PriceModel.FlatFeeSubscription.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StandardOffer.PriceModel.FlatFeeSubscription.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setSku(String value)
public StandardOffer.PriceModel.FlatFeeSubscription.Builder setSku(String value)
Output only. Flat fee subscription SKU for the offer.
string sku = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
value |
String
The sku to set.
|
setSkuBytes(ByteString value)
public StandardOffer.PriceModel.FlatFeeSubscription.Builder setSkuBytes(ByteString value)
Output only. Flat fee subscription SKU for the offer.
string sku = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for sku to set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-06 UTC.
[null,null,["Last updated 2026-08-06 UTC."],[],[]]