- 3.59.0 (latest)
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public interface OfferOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getConstraints()
public abstract Constraints getConstraints()
Constraints on transacting the Offer.
.google.cloud.channel.v1.Constraints constraints = 5;
Returns | |
---|---|
Type | Description |
Constraints |
The constraints. |
getConstraintsOrBuilder()
public abstract ConstraintsOrBuilder getConstraintsOrBuilder()
Constraints on transacting the Offer.
.google.cloud.channel.v1.Constraints constraints = 5;
Returns | |
---|---|
Type | Description |
ConstraintsOrBuilder |
getDealCode()
public abstract String getDealCode()
The deal code of the offer to get a special promotion or discount.
string deal_code = 12;
Returns | |
---|---|
Type | Description |
String |
The dealCode. |
getDealCodeBytes()
public abstract ByteString getDealCodeBytes()
The deal code of the offer to get a special promotion or discount.
string deal_code = 12;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for dealCode. |
getEndTime()
public abstract Timestamp getEndTime()
Output only. End of the Offer validity time.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The endTime. |
getEndTimeOrBuilder()
public abstract TimestampOrBuilder getEndTimeOrBuilder()
Output only. End of the Offer validity time.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMarketingInfo()
public abstract MarketingInfo getMarketingInfo()
Marketing information for the Offer.
.google.cloud.channel.v1.MarketingInfo marketing_info = 2;
Returns | |
---|---|
Type | Description |
MarketingInfo |
The marketingInfo. |
getMarketingInfoOrBuilder()
public abstract MarketingInfoOrBuilder getMarketingInfoOrBuilder()
Marketing information for the Offer.
.google.cloud.channel.v1.MarketingInfo marketing_info = 2;
Returns | |
---|---|
Type | Description |
MarketingInfoOrBuilder |
getName()
public abstract String getName()
Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getParameterDefinitions(int index)
public abstract ParameterDefinition getParameterDefinitions(int index)
Parameters required to use current Offer to purchase.
repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ParameterDefinition |
getParameterDefinitionsCount()
public abstract int getParameterDefinitionsCount()
Parameters required to use current Offer to purchase.
repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
Returns | |
---|---|
Type | Description |
int |
getParameterDefinitionsList()
public abstract List<ParameterDefinition> getParameterDefinitionsList()
Parameters required to use current Offer to purchase.
repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
Returns | |
---|---|
Type | Description |
List<ParameterDefinition> |
getParameterDefinitionsOrBuilder(int index)
public abstract ParameterDefinitionOrBuilder getParameterDefinitionsOrBuilder(int index)
Parameters required to use current Offer to purchase.
repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ParameterDefinitionOrBuilder |
getParameterDefinitionsOrBuilderList()
public abstract List<? extends ParameterDefinitionOrBuilder> getParameterDefinitionsOrBuilderList()
Parameters required to use current Offer to purchase.
repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.channel.v1.ParameterDefinitionOrBuilder> |
getPlan()
public abstract Plan getPlan()
Describes the payment plan for the Offer.
.google.cloud.channel.v1.Plan plan = 4;
Returns | |
---|---|
Type | Description |
Plan |
The plan. |
getPlanOrBuilder()
public abstract PlanOrBuilder getPlanOrBuilder()
Describes the payment plan for the Offer.
.google.cloud.channel.v1.Plan plan = 4;
Returns | |
---|---|
Type | Description |
PlanOrBuilder |
getPriceByResources(int index)
public abstract PriceByResource getPriceByResources(int index)
Price for each monetizable resource type.
repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PriceByResource |
getPriceByResourcesCount()
public abstract int getPriceByResourcesCount()
Price for each monetizable resource type.
repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
Returns | |
---|---|
Type | Description |
int |
getPriceByResourcesList()
public abstract List<PriceByResource> getPriceByResourcesList()
Price for each monetizable resource type.
repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
Returns | |
---|---|
Type | Description |
List<PriceByResource> |
getPriceByResourcesOrBuilder(int index)
public abstract PriceByResourceOrBuilder getPriceByResourcesOrBuilder(int index)
Price for each monetizable resource type.
repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
PriceByResourceOrBuilder |
getPriceByResourcesOrBuilderList()
public abstract List<? extends PriceByResourceOrBuilder> getPriceByResourcesOrBuilderList()
Price for each monetizable resource type.
repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.channel.v1.PriceByResourceOrBuilder> |
getSku()
public abstract Sku getSku()
SKU the offer is associated with.
.google.cloud.channel.v1.Sku sku = 3;
Returns | |
---|---|
Type | Description |
Sku |
The sku. |
getSkuOrBuilder()
public abstract SkuOrBuilder getSkuOrBuilder()
SKU the offer is associated with.
.google.cloud.channel.v1.Sku sku = 3;
Returns | |
---|---|
Type | Description |
SkuOrBuilder |
getStartTime()
public abstract Timestamp getStartTime()
Start of the Offer validity time.
.google.protobuf.Timestamp start_time = 7;
Returns | |
---|---|
Type | Description |
Timestamp |
The startTime. |
getStartTimeOrBuilder()
public abstract TimestampOrBuilder getStartTimeOrBuilder()
Start of the Offer validity time.
.google.protobuf.Timestamp start_time = 7;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasConstraints()
public abstract boolean hasConstraints()
Constraints on transacting the Offer.
.google.cloud.channel.v1.Constraints constraints = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the constraints field is set. |
hasEndTime()
public abstract boolean hasEndTime()
Output only. End of the Offer validity time.
.google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the endTime field is set. |
hasMarketingInfo()
public abstract boolean hasMarketingInfo()
Marketing information for the Offer.
.google.cloud.channel.v1.MarketingInfo marketing_info = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the marketingInfo field is set. |
hasPlan()
public abstract boolean hasPlan()
Describes the payment plan for the Offer.
.google.cloud.channel.v1.Plan plan = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the plan field is set. |
hasSku()
public abstract boolean hasSku()
SKU the offer is associated with.
.google.cloud.channel.v1.Sku sku = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the sku field is set. |
hasStartTime()
public abstract boolean hasStartTime()
Start of the Offer validity time.
.google.protobuf.Timestamp start_time = 7;
Returns | |
---|---|
Type | Description |
boolean |
Whether the startTime field is set. |