Interface StandardOfferOrBuilder (0.1.0)

public interface StandardOfferOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Creation time of the offer.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Creation time of the offer.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getEffectiveTime()

public abstract Timestamp getEffectiveTime()

Output only. Effective time of the offer. Prior to this time, the offer cannot be purchased or used as the base standard offer of a private offer.

.google.protobuf.Timestamp effective_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The effectiveTime.

getEffectiveTimeOrBuilder()

public abstract TimestampOrBuilder getEffectiveTimeOrBuilder()

Output only. Effective time of the offer. Prior to this time, the offer cannot be purchased or used as the base standard offer of a private offer.

.google.protobuf.Timestamp effective_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getExpireTime()

public abstract Timestamp getExpireTime()

Output only. Expire time of the offer. An offer is expired if its expire time is in the past. An expired standard offer cannot be purchased or used as the base standard offer of a private offer.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public abstract TimestampOrBuilder getExpireTimeOrBuilder()

Output only. Expire time of the offer. An offer is expired if its expire time is in the past. An expired standard offer cannot be purchased or used as the base standard offer of a private offer.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Identifier. Name of resource.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Name of resource.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPriceModel()

public abstract StandardOffer.PriceModel getPriceModel()

Output only. Price model of the offer.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel price_model = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StandardOffer.PriceModel

The priceModel.

getPriceModelOrBuilder()

public abstract StandardOffer.PriceModelOrBuilder getPriceModelOrBuilder()

Output only. Price model of the offer.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel price_model = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StandardOffer.PriceModelOrBuilder

getServiceLevel()

public abstract String getServiceLevel()

Output only. Identifier that distinguishes between different service levels of the same product that constitute distinct offerings to customers with different pricing.

The service levels of a product are also referred to in some cases as the product's 'plans', and the service_level value is referred to in some cases as the "plan ID".

Multiple non-expired standard offers can share the same service level when they are subscription offers for different term durations.

string service_level = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceLevel.

getServiceLevelBytes()

public abstract ByteString getServiceLevelBytes()

Output only. Identifier that distinguishes between different service levels of the same product that constitute distinct offerings to customers with different pricing.

The service levels of a product are also referred to in some cases as the product's 'plans', and the service_level value is referred to in some cases as the "plan ID".

Multiple non-expired standard offers can share the same service level when they are subscription offers for different term durations.

string service_level = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceLevel.

getServiceLevelTitle()

public abstract String getServiceLevelTitle()

Output only. Title of the service level.

Not included for STANDARD_OFFER_VIEW_BASIC.

string service_level_title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The serviceLevelTitle.

getServiceLevelTitleBytes()

public abstract ByteString getServiceLevelTitleBytes()

Output only. Title of the service level.

Not included for STANDARD_OFFER_VIEW_BASIC.

string service_level_title = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for serviceLevelTitle.

getTermCase()

public abstract StandardOffer.TermCase getTermCase()
Returns
Type Description
StandardOffer.TermCase

getTermDurationMonths()

public abstract int getTermDurationMonths()

Output only. Term duration of the offer in months. Applicable only to offers with a subscription price model. Additional forms of offer term may be added in the future.

int32 term_duration_months = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The termDurationMonths.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Last update time of the offer.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Last update time of the offer.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Creation time of the offer.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasEffectiveTime()

public abstract boolean hasEffectiveTime()

Output only. Effective time of the offer. Prior to this time, the offer cannot be purchased or used as the base standard offer of a private offer.

.google.protobuf.Timestamp effective_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the effectiveTime field is set.

hasExpireTime()

public abstract boolean hasExpireTime()

Output only. Expire time of the offer. An offer is expired if its expire time is in the past. An expired standard offer cannot be purchased or used as the base standard offer of a private offer.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expireTime field is set.

hasPriceModel()

public abstract boolean hasPriceModel()

Output only. Price model of the offer.

.google.cloud.commerceproducer.v1beta.StandardOffer.PriceModel price_model = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the priceModel field is set.

hasTermDurationMonths()

public abstract boolean hasTermDurationMonths()

Output only. Term duration of the offer in months. Applicable only to offers with a subscription price model. Additional forms of offer term may be added in the future.

int32 term_duration_months = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the termDurationMonths field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Last update time of the offer.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.