- 3.82.0 (latest)
 - 3.80.0
 - 3.79.0
 - 3.78.0
 - 3.77.0
 - 3.76.0
 - 3.74.0
 - 3.72.0
 - 3.71.0
 - 3.68.0
 - 3.67.0
 - 3.66.0
 - 3.64.0
 - 3.63.0
 - 3.62.0
 - 3.61.0
 - 3.60.0
 - 3.59.0
 - 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 static final class Offer.Builder extends GeneratedMessageV3.Builder<Offer.Builder> implements OfferOrBuilderRepresents an offer made to resellers for purchase. An offer is associated with a Sku, has a plan for payment, a price, and defines the constraints for buying.
 Protobuf type google.cloud.channel.v1.Offer
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Offer.BuilderImplements
OfferOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addAllParameterDefinitions(Iterable<? extends ParameterDefinition> values)
public Offer.Builder addAllParameterDefinitions(Iterable<? extends ParameterDefinition> values)Parameters required to use current Offer to purchase.
 repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
| Name | Description | 
| values | Iterable<? extends com.google.cloud.channel.v1.ParameterDefinition> | 
      
| Type | Description | 
| Offer.Builder | 
addAllPriceByResources(Iterable<? extends PriceByResource> values)
public Offer.Builder addAllPriceByResources(Iterable<? extends PriceByResource> values)Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Name | Description | 
| values | Iterable<? extends com.google.cloud.channel.v1.PriceByResource> | 
      
| Type | Description | 
| Offer.Builder | 
addParameterDefinitions(ParameterDefinition value)
public Offer.Builder addParameterDefinitions(ParameterDefinition value)Parameters required to use current Offer to purchase.
 repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
| Name | Description | 
| value | ParameterDefinition | 
      
| Type | Description | 
| Offer.Builder | 
addParameterDefinitions(ParameterDefinition.Builder builderForValue)
public Offer.Builder addParameterDefinitions(ParameterDefinition.Builder builderForValue)Parameters required to use current Offer to purchase.
 repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
| Name | Description | 
| builderForValue | ParameterDefinition.Builder | 
      
| Type | Description | 
| Offer.Builder | 
addParameterDefinitions(int index, ParameterDefinition value)
public Offer.Builder addParameterDefinitions(int index, ParameterDefinition value)Parameters required to use current Offer to purchase.
 repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
| Name | Description | 
| index | int | 
      
| value | ParameterDefinition | 
      
| Type | Description | 
| Offer.Builder | 
addParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)
public Offer.Builder addParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)Parameters required to use current Offer to purchase.
 repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
| Name | Description | 
| index | int | 
      
| builderForValue | ParameterDefinition.Builder | 
      
| Type | Description | 
| Offer.Builder | 
addParameterDefinitionsBuilder()
public ParameterDefinition.Builder addParameterDefinitionsBuilder()Parameters required to use current Offer to purchase.
 repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
| Type | Description | 
| ParameterDefinition.Builder | 
addParameterDefinitionsBuilder(int index)
public ParameterDefinition.Builder addParameterDefinitionsBuilder(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.Builder | 
addPriceByResources(PriceByResource value)
public Offer.Builder addPriceByResources(PriceByResource value)Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Name | Description | 
| value | PriceByResource | 
      
| Type | Description | 
| Offer.Builder | 
addPriceByResources(PriceByResource.Builder builderForValue)
public Offer.Builder addPriceByResources(PriceByResource.Builder builderForValue)Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Name | Description | 
| builderForValue | PriceByResource.Builder | 
      
| Type | Description | 
| Offer.Builder | 
addPriceByResources(int index, PriceByResource value)
public Offer.Builder addPriceByResources(int index, PriceByResource value)Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Name | Description | 
| index | int | 
      
| value | PriceByResource | 
      
| Type | Description | 
| Offer.Builder | 
addPriceByResources(int index, PriceByResource.Builder builderForValue)
public Offer.Builder addPriceByResources(int index, PriceByResource.Builder builderForValue)Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Name | Description | 
| index | int | 
      
| builderForValue | PriceByResource.Builder | 
      
| Type | Description | 
| Offer.Builder | 
addPriceByResourcesBuilder()
public PriceByResource.Builder addPriceByResourcesBuilder()Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Type | Description | 
| PriceByResource.Builder | 
addPriceByResourcesBuilder(int index)
public PriceByResource.Builder addPriceByResourcesBuilder(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.Builder | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Offer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Offer.Builder | 
build()
public Offer build()| Type | Description | 
| Offer | 
buildPartial()
public Offer buildPartial()| Type | Description | 
| Offer | 
clear()
public Offer.Builder clear()| Type | Description | 
| Offer.Builder | 
clearConstraints()
public Offer.Builder clearConstraints()Constraints on transacting the Offer.
 .google.cloud.channel.v1.Constraints constraints = 5;
| Type | Description | 
| Offer.Builder | 
clearEndTime()
public Offer.Builder clearEndTime()Output only. End of the Offer validity time.
 .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Offer.Builder | 
clearField(Descriptors.FieldDescriptor field)
public Offer.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| Offer.Builder | 
clearMarketingInfo()
public Offer.Builder clearMarketingInfo()Marketing information for the Offer.
 .google.cloud.channel.v1.MarketingInfo marketing_info = 2;
| Type | Description | 
| Offer.Builder | 
clearName()
public Offer.Builder clearName()Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}
 string name = 1;
| Type | Description | 
| Offer.Builder | This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Offer.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| Type | Description | 
| Offer.Builder | 
clearParameterDefinitions()
public Offer.Builder clearParameterDefinitions()Parameters required to use current Offer to purchase.
 repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
| Type | Description | 
| Offer.Builder | 
clearPlan()
public Offer.Builder clearPlan()Describes the payment plan for the Offer.
 .google.cloud.channel.v1.Plan plan = 4;
| Type | Description | 
| Offer.Builder | 
clearPriceByResources()
public Offer.Builder clearPriceByResources()Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Type | Description | 
| Offer.Builder | 
clearSku()
public Offer.Builder clearSku()SKU the offer is associated with.
 .google.cloud.channel.v1.Sku sku = 3;
| Type | Description | 
| Offer.Builder | 
clearStartTime()
public Offer.Builder clearStartTime()Start of the Offer validity time.
 .google.protobuf.Timestamp start_time = 7;
| Type | Description | 
| Offer.Builder | 
clone()
public Offer.Builder clone()| Type | Description | 
| Offer.Builder | 
getConstraints()
public Constraints getConstraints()Constraints on transacting the Offer.
 .google.cloud.channel.v1.Constraints constraints = 5;
| Type | Description | 
| Constraints | The constraints.  | 
      
getConstraintsBuilder()
public Constraints.Builder getConstraintsBuilder()Constraints on transacting the Offer.
 .google.cloud.channel.v1.Constraints constraints = 5;
| Type | Description | 
| Constraints.Builder | 
getConstraintsOrBuilder()
public ConstraintsOrBuilder getConstraintsOrBuilder()Constraints on transacting the Offer.
 .google.cloud.channel.v1.Constraints constraints = 5;
| Type | Description | 
| ConstraintsOrBuilder | 
getDefaultInstanceForType()
public Offer getDefaultInstanceForType()| Type | Description | 
| Offer | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getEndTime()
public 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.  | 
      
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()Output only. End of the Offer validity time.
 .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Type | Description | 
| Builder | 
getEndTimeOrBuilder()
public 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 MarketingInfo getMarketingInfo()Marketing information for the Offer.
 .google.cloud.channel.v1.MarketingInfo marketing_info = 2;
| Type | Description | 
| MarketingInfo | The marketingInfo.  | 
      
getMarketingInfoBuilder()
public MarketingInfo.Builder getMarketingInfoBuilder()Marketing information for the Offer.
 .google.cloud.channel.v1.MarketingInfo marketing_info = 2;
| Type | Description | 
| MarketingInfo.Builder | 
getMarketingInfoOrBuilder()
public MarketingInfoOrBuilder getMarketingInfoOrBuilder()Marketing information for the Offer.
 .google.cloud.channel.v1.MarketingInfo marketing_info = 2;
| Type | Description | 
| MarketingInfoOrBuilder | 
getName()
public String getName()Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}
 string name = 1;
| Type | Description | 
| String | The name.  | 
      
getNameBytes()
public 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 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 | 
getParameterDefinitionsBuilder(int index)
public ParameterDefinition.Builder getParameterDefinitionsBuilder(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.Builder | 
getParameterDefinitionsBuilderList()
public List<ParameterDefinition.Builder> getParameterDefinitionsBuilderList()Parameters required to use current Offer to purchase.
 repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
| Type | Description | 
| List<Builder> | 
getParameterDefinitionsCount()
public int getParameterDefinitionsCount()Parameters required to use current Offer to purchase.
 repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
| Type | Description | 
| int | 
getParameterDefinitionsList()
public 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 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 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 Plan getPlan()Describes the payment plan for the Offer.
 .google.cloud.channel.v1.Plan plan = 4;
| Type | Description | 
| Plan | The plan.  | 
      
getPlanBuilder()
public Plan.Builder getPlanBuilder()Describes the payment plan for the Offer.
 .google.cloud.channel.v1.Plan plan = 4;
| Type | Description | 
| Plan.Builder | 
getPlanOrBuilder()
public PlanOrBuilder getPlanOrBuilder()Describes the payment plan for the Offer.
 .google.cloud.channel.v1.Plan plan = 4;
| Type | Description | 
| PlanOrBuilder | 
getPriceByResources(int index)
public 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 | 
getPriceByResourcesBuilder(int index)
public PriceByResource.Builder getPriceByResourcesBuilder(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.Builder | 
getPriceByResourcesBuilderList()
public List<PriceByResource.Builder> getPriceByResourcesBuilderList()Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Type | Description | 
| List<Builder> | 
getPriceByResourcesCount()
public int getPriceByResourcesCount()Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Type | Description | 
| int | 
getPriceByResourcesList()
public 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 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 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 Sku getSku()SKU the offer is associated with.
 .google.cloud.channel.v1.Sku sku = 3;
| Type | Description | 
| Sku | The sku.  | 
      
getSkuBuilder()
public Sku.Builder getSkuBuilder()SKU the offer is associated with.
 .google.cloud.channel.v1.Sku sku = 3;
| Type | Description | 
| Sku.Builder | 
getSkuOrBuilder()
public SkuOrBuilder getSkuOrBuilder()SKU the offer is associated with.
 .google.cloud.channel.v1.Sku sku = 3;
| Type | Description | 
| SkuOrBuilder | 
getStartTime()
public Timestamp getStartTime()Start of the Offer validity time.
 .google.protobuf.Timestamp start_time = 7;
| Type | Description | 
| Timestamp | The startTime.  | 
      
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()Start of the Offer validity time.
 .google.protobuf.Timestamp start_time = 7;
| Type | Description | 
| Builder | 
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()Start of the Offer validity time.
 .google.protobuf.Timestamp start_time = 7;
| Type | Description | 
| TimestampOrBuilder | 
hasConstraints()
public 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 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 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 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 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 boolean hasStartTime()Start of the Offer validity time.
 .google.protobuf.Timestamp start_time = 7;
| Type | Description | 
| boolean | Whether the startTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeConstraints(Constraints value)
public Offer.Builder mergeConstraints(Constraints value)Constraints on transacting the Offer.
 .google.cloud.channel.v1.Constraints constraints = 5;
| Name | Description | 
| value | Constraints | 
      
| Type | Description | 
| Offer.Builder | 
mergeEndTime(Timestamp value)
public Offer.Builder mergeEndTime(Timestamp value)Output only. End of the Offer validity time.
 .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Offer.Builder | 
mergeFrom(Offer other)
public Offer.Builder mergeFrom(Offer other)| Name | Description | 
| other | Offer | 
      
| Type | Description | 
| Offer.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Offer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Offer.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public Offer.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| Type | Description | 
| Offer.Builder | 
mergeMarketingInfo(MarketingInfo value)
public Offer.Builder mergeMarketingInfo(MarketingInfo value)Marketing information for the Offer.
 .google.cloud.channel.v1.MarketingInfo marketing_info = 2;
| Name | Description | 
| value | MarketingInfo | 
      
| Type | Description | 
| Offer.Builder | 
mergePlan(Plan value)
public Offer.Builder mergePlan(Plan value)Describes the payment plan for the Offer.
 .google.cloud.channel.v1.Plan plan = 4;
| Name | Description | 
| value | Plan | 
      
| Type | Description | 
| Offer.Builder | 
mergeSku(Sku value)
public Offer.Builder mergeSku(Sku value)SKU the offer is associated with.
 .google.cloud.channel.v1.Sku sku = 3;
| Name | Description | 
| value | Sku | 
      
| Type | Description | 
| Offer.Builder | 
mergeStartTime(Timestamp value)
public Offer.Builder mergeStartTime(Timestamp value)Start of the Offer validity time.
 .google.protobuf.Timestamp start_time = 7;
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Offer.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Offer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| Offer.Builder | 
removeParameterDefinitions(int index)
public Offer.Builder removeParameterDefinitions(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 | 
| Offer.Builder | 
removePriceByResources(int index)
public Offer.Builder removePriceByResources(int index)Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Name | Description | 
| index | int | 
      
| Type | Description | 
| Offer.Builder | 
setConstraints(Constraints value)
public Offer.Builder setConstraints(Constraints value)Constraints on transacting the Offer.
 .google.cloud.channel.v1.Constraints constraints = 5;
| Name | Description | 
| value | Constraints | 
      
| Type | Description | 
| Offer.Builder | 
setConstraints(Constraints.Builder builderForValue)
public Offer.Builder setConstraints(Constraints.Builder builderForValue)Constraints on transacting the Offer.
 .google.cloud.channel.v1.Constraints constraints = 5;
| Name | Description | 
| builderForValue | Constraints.Builder | 
      
| Type | Description | 
| Offer.Builder | 
setEndTime(Timestamp value)
public Offer.Builder setEndTime(Timestamp value)Output only. End of the Offer validity time.
 .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Offer.Builder | 
setEndTime(Timestamp.Builder builderForValue)
public Offer.Builder setEndTime(Timestamp.Builder builderForValue)Output only. End of the Offer validity time.
 .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Name | Description | 
| builderForValue | Builder | 
      
| Type | Description | 
| Offer.Builder | 
setField(Descriptors.FieldDescriptor field, Object value)
public Offer.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Offer.Builder | 
setMarketingInfo(MarketingInfo value)
public Offer.Builder setMarketingInfo(MarketingInfo value)Marketing information for the Offer.
 .google.cloud.channel.v1.MarketingInfo marketing_info = 2;
| Name | Description | 
| value | MarketingInfo | 
      
| Type | Description | 
| Offer.Builder | 
setMarketingInfo(MarketingInfo.Builder builderForValue)
public Offer.Builder setMarketingInfo(MarketingInfo.Builder builderForValue)Marketing information for the Offer.
 .google.cloud.channel.v1.MarketingInfo marketing_info = 2;
| Name | Description | 
| builderForValue | MarketingInfo.Builder | 
      
| Type | Description | 
| Offer.Builder | 
setName(String value)
public Offer.Builder setName(String value)Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}
 string name = 1;
| Name | Description | 
| value | StringThe name to set.  | 
      
| Type | Description | 
| Offer.Builder | This builder for chaining.  | 
      
setNameBytes(ByteString value)
public Offer.Builder setNameBytes(ByteString value)Resource Name of the Offer. Format: accounts/{account_id}/offers/{offer_id}
 string name = 1;
| Name | Description | 
| value | ByteStringThe bytes for name to set.  | 
      
| Type | Description | 
| Offer.Builder | This builder for chaining.  | 
      
setParameterDefinitions(int index, ParameterDefinition value)
public Offer.Builder setParameterDefinitions(int index, ParameterDefinition value)Parameters required to use current Offer to purchase.
 repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
| Name | Description | 
| index | int | 
      
| value | ParameterDefinition | 
      
| Type | Description | 
| Offer.Builder | 
setParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)
public Offer.Builder setParameterDefinitions(int index, ParameterDefinition.Builder builderForValue)Parameters required to use current Offer to purchase.
 repeated .google.cloud.channel.v1.ParameterDefinition parameter_definitions = 9;
| Name | Description | 
| index | int | 
      
| builderForValue | ParameterDefinition.Builder | 
      
| Type | Description | 
| Offer.Builder | 
setPlan(Plan value)
public Offer.Builder setPlan(Plan value)Describes the payment plan for the Offer.
 .google.cloud.channel.v1.Plan plan = 4;
| Name | Description | 
| value | Plan | 
      
| Type | Description | 
| Offer.Builder | 
setPlan(Plan.Builder builderForValue)
public Offer.Builder setPlan(Plan.Builder builderForValue)Describes the payment plan for the Offer.
 .google.cloud.channel.v1.Plan plan = 4;
| Name | Description | 
| builderForValue | Plan.Builder | 
      
| Type | Description | 
| Offer.Builder | 
setPriceByResources(int index, PriceByResource value)
public Offer.Builder setPriceByResources(int index, PriceByResource value)Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Name | Description | 
| index | int | 
      
| value | PriceByResource | 
      
| Type | Description | 
| Offer.Builder | 
setPriceByResources(int index, PriceByResource.Builder builderForValue)
public Offer.Builder setPriceByResources(int index, PriceByResource.Builder builderForValue)Price for each monetizable resource type.
 repeated .google.cloud.channel.v1.PriceByResource price_by_resources = 6;
| Name | Description | 
| index | int | 
      
| builderForValue | PriceByResource.Builder | 
      
| Type | Description | 
| Offer.Builder | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Offer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| Type | Description | 
| Offer.Builder | 
setSku(Sku value)
public Offer.Builder setSku(Sku value)SKU the offer is associated with.
 .google.cloud.channel.v1.Sku sku = 3;
| Name | Description | 
| value | Sku | 
      
| Type | Description | 
| Offer.Builder | 
setSku(Sku.Builder builderForValue)
public Offer.Builder setSku(Sku.Builder builderForValue)SKU the offer is associated with.
 .google.cloud.channel.v1.Sku sku = 3;
| Name | Description | 
| builderForValue | Sku.Builder | 
      
| Type | Description | 
| Offer.Builder | 
setStartTime(Timestamp value)
public Offer.Builder setStartTime(Timestamp value)Start of the Offer validity time.
 .google.protobuf.Timestamp start_time = 7;
| Name | Description | 
| value | Timestamp | 
      
| Type | Description | 
| Offer.Builder | 
setStartTime(Timestamp.Builder builderForValue)
public Offer.Builder setStartTime(Timestamp.Builder builderForValue)Start of the Offer validity time.
 .google.protobuf.Timestamp start_time = 7;
| Name | Description | 
| builderForValue | Builder | 
      
| Type | Description | 
| Offer.Builder | 
setUnknownFields(UnknownFieldSet unknownFields)
public final Offer.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| Offer.Builder |