public interface OfferOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getConstraints()
public abstract Constraints getConstraints()Constraints on transacting the Offer.
.google.cloud.channel.v1.Constraints constraints = 5;
| Type | Description |
| Constraints | The constraints. |
getConstraintsOrBuilder()
public abstract ConstraintsOrBuilder getConstraintsOrBuilder()Constraints on transacting the Offer.
.google.cloud.channel.v1.Constraints constraints = 5;
| Type | Description |
| ConstraintsOrBuilder |
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];
| 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];
| Type | Description |
| TimestampOrBuilder |
getMarketingInfo()
public abstract MarketingInfo getMarketingInfo()Marketing information for the Offer.
.google.cloud.channel.v1.MarketingInfo marketing_info = 2;
| Type | Description |
| MarketingInfo | The marketingInfo. |
getMarketingInfoOrBuilder()
public abstract MarketingInfoOrBuilder getMarketingInfoOrBuilder()Marketing information for the Offer.
.google.cloud.channel.v1.MarketingInfo marketing_info = 2;
| Type | Description |
| MarketingInfoOrBuilder |
getName()
public abstract String getName()Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}
string name = 1;
| 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;
| 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;
| Name | Description |
| index | int |
| 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;
| 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;
| 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;
| Name | Description |
| index | int |
| 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;
| 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;
| Type | Description |
| Plan | The plan. |
getPlanOrBuilder()
public abstract PlanOrBuilder getPlanOrBuilder()Describes the payment plan for the Offer.
.google.cloud.channel.v1.Plan plan = 4;
| 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;
| Name | Description |
| index | int |
| Type | Description |
| PriceByResource |
getPriceByResourcesCount()
public abstract int getPriceByResourcesCount()Price for each monetizable resource type.
repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| 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;
| 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;
| Name | Description |
| index | int |
| 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;
| 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;
| Type | Description |
| Sku | The sku. |
getSkuOrBuilder()
public abstract SkuOrBuilder getSkuOrBuilder()SKU the offer is associated with.
.google.cloud.channel.v1.Sku sku = 3;
| Type | Description |
| SkuOrBuilder |
getStartTime()
public abstract Timestamp getStartTime()Start of the Offer validity time.
.google.protobuf.Timestamp start_time = 7;
| Type | Description |
| Timestamp | The startTime. |
getStartTimeOrBuilder()
public abstract TimestampOrBuilder getStartTimeOrBuilder()Start of the Offer validity time.
.google.protobuf.Timestamp start_time = 7;
| Type | Description |
| TimestampOrBuilder |
hasConstraints()
public abstract boolean hasConstraints()Constraints on transacting the Offer.
.google.cloud.channel.v1.Constraints constraints = 5;
| 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];
| 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;
| 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;
| 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;
| 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;
| Type | Description |
| boolean | Whether the startTime field is set. |