Class StandardOffer.PriceModel.Usage.Builder (0.1.0)

public static final class StandardOffer.PriceModel.Usage.Builder extends GeneratedMessage.Builder<StandardOffer.PriceModel.Usage.Builder> implements StandardOffer.PriceModel.UsageOrBuilder

Price configurations for the usage part.

Protobuf type google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.Usage

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public StandardOffer.PriceModel.Usage build()
Returns
Type Description
StandardOffer.PriceModel.Usage

buildPartial()

public StandardOffer.PriceModel.Usage buildPartial()
Returns
Type Description
StandardOffer.PriceModel.Usage

clear()

public StandardOffer.PriceModel.Usage.Builder clear()
Returns
Type Description
StandardOffer.PriceModel.Usage.Builder
Overrides

clearSkuGroupList()

public StandardOffer.PriceModel.Usage.Builder clearSkuGroupList()

Output only. The offer's usage fees are charged against the SKUs in these groups.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuGroupList sku_group_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StandardOffer.PriceModel.Usage.Builder

clearSkuList()

public StandardOffer.PriceModel.Usage.Builder clearSkuList()

Output only. The offer's usage fees are charged against these SKUs.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuList sku_list = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StandardOffer.PriceModel.Usage.Builder

clearSkus()

public StandardOffer.PriceModel.Usage.Builder clearSkus()
Returns
Type Description
StandardOffer.PriceModel.Usage.Builder

getDefaultInstanceForType()

public StandardOffer.PriceModel.Usage getDefaultInstanceForType()
Returns
Type Description
StandardOffer.PriceModel.Usage

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSkuGroupList()

public StandardOffer.PriceModel.SkuGroupList getSkuGroupList()

Output only. The offer's usage fees are charged against the SKUs in these groups.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuGroupList sku_group_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StandardOffer.PriceModel.SkuGroupList

The skuGroupList.

getSkuGroupListBuilder()

public StandardOffer.PriceModel.SkuGroupList.Builder getSkuGroupListBuilder()

Output only. The offer's usage fees are charged against the SKUs in these groups.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuGroupList sku_group_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StandardOffer.PriceModel.SkuGroupList.Builder

getSkuGroupListOrBuilder()

public StandardOffer.PriceModel.SkuGroupListOrBuilder getSkuGroupListOrBuilder()

Output only. The offer's usage fees are charged against the SKUs in these groups.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuGroupList sku_group_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StandardOffer.PriceModel.SkuGroupListOrBuilder

getSkuList()

public StandardOffer.PriceModel.SkuList getSkuList()

Output only. The offer's usage fees are charged against these SKUs.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuList sku_list = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StandardOffer.PriceModel.SkuList

The skuList.

getSkuListBuilder()

public StandardOffer.PriceModel.SkuList.Builder getSkuListBuilder()

Output only. The offer's usage fees are charged against these SKUs.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuList sku_list = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StandardOffer.PriceModel.SkuList.Builder

getSkuListOrBuilder()

public StandardOffer.PriceModel.SkuListOrBuilder getSkuListOrBuilder()

Output only. The offer's usage fees are charged against these SKUs.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuList sku_list = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StandardOffer.PriceModel.SkuListOrBuilder

getSkusCase()

public StandardOffer.PriceModel.Usage.SkusCase getSkusCase()
Returns
Type Description
StandardOffer.PriceModel.Usage.SkusCase

hasSkuGroupList()

public boolean hasSkuGroupList()

Output only. The offer's usage fees are charged against the SKUs in these groups.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuGroupList sku_group_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the skuGroupList field is set.

hasSkuList()

public boolean hasSkuList()

Output only. The offer's usage fees are charged against these SKUs.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuList sku_list = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the skuList field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StandardOffer.PriceModel.Usage other)

public StandardOffer.PriceModel.Usage.Builder mergeFrom(StandardOffer.PriceModel.Usage other)
Parameter
Name Description
other StandardOffer.PriceModel.Usage
Returns
Type Description
StandardOffer.PriceModel.Usage.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StandardOffer.PriceModel.Usage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StandardOffer.PriceModel.Usage.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StandardOffer.PriceModel.Usage.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StandardOffer.PriceModel.Usage.Builder
Overrides

mergeSkuGroupList(StandardOffer.PriceModel.SkuGroupList value)

public StandardOffer.PriceModel.Usage.Builder mergeSkuGroupList(StandardOffer.PriceModel.SkuGroupList value)

Output only. The offer's usage fees are charged against the SKUs in these groups.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuGroupList sku_group_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value StandardOffer.PriceModel.SkuGroupList
Returns
Type Description
StandardOffer.PriceModel.Usage.Builder

mergeSkuList(StandardOffer.PriceModel.SkuList value)

public StandardOffer.PriceModel.Usage.Builder mergeSkuList(StandardOffer.PriceModel.SkuList value)

Output only. The offer's usage fees are charged against these SKUs.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuList sku_list = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value StandardOffer.PriceModel.SkuList
Returns
Type Description
StandardOffer.PriceModel.Usage.Builder

setSkuGroupList(StandardOffer.PriceModel.SkuGroupList value)

public StandardOffer.PriceModel.Usage.Builder setSkuGroupList(StandardOffer.PriceModel.SkuGroupList value)

Output only. The offer's usage fees are charged against the SKUs in these groups.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuGroupList sku_group_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value StandardOffer.PriceModel.SkuGroupList
Returns
Type Description
StandardOffer.PriceModel.Usage.Builder

setSkuGroupList(StandardOffer.PriceModel.SkuGroupList.Builder builderForValue)

public StandardOffer.PriceModel.Usage.Builder setSkuGroupList(StandardOffer.PriceModel.SkuGroupList.Builder builderForValue)

Output only. The offer's usage fees are charged against the SKUs in these groups.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuGroupList sku_group_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue StandardOffer.PriceModel.SkuGroupList.Builder
Returns
Type Description
StandardOffer.PriceModel.Usage.Builder

setSkuList(StandardOffer.PriceModel.SkuList value)

public StandardOffer.PriceModel.Usage.Builder setSkuList(StandardOffer.PriceModel.SkuList value)

Output only. The offer's usage fees are charged against these SKUs.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuList sku_list = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value StandardOffer.PriceModel.SkuList
Returns
Type Description
StandardOffer.PriceModel.Usage.Builder

setSkuList(StandardOffer.PriceModel.SkuList.Builder builderForValue)

public StandardOffer.PriceModel.Usage.Builder setSkuList(StandardOffer.PriceModel.SkuList.Builder builderForValue)

Output only. The offer's usage fees are charged against these SKUs.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel.SkuList sku_list = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue StandardOffer.PriceModel.SkuList.Builder
Returns
Type Description
StandardOffer.PriceModel.Usage.Builder