public static final class PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder extends GeneratedMessage.Builder<PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder> implements PrivateOffer.SingleProductOffer.CustomIntervalPriceOrBuilderPrice configurations for offers with custom intervals.
Protobuf type
google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.CustomIntervalPrice
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PrivateOffer.SingleProductOffer.CustomIntervalPrice.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllInstallments(Iterable<? extends PrivateOffer.SingleProductOffer.Installment> values)
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder addAllInstallments(Iterable<? extends PrivateOffer.SingleProductOffer.Installment> values)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment> |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
addInstallments(PrivateOffer.SingleProductOffer.Installment value)
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder addInstallments(PrivateOffer.SingleProductOffer.Installment value)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
PrivateOffer.SingleProductOffer.Installment |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
addInstallments(PrivateOffer.SingleProductOffer.Installment.Builder builderForValue)
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder addInstallments(PrivateOffer.SingleProductOffer.Installment.Builder builderForValue)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PrivateOffer.SingleProductOffer.Installment.Builder |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
addInstallments(int index, PrivateOffer.SingleProductOffer.Installment value)
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder addInstallments(int index, PrivateOffer.SingleProductOffer.Installment value)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PrivateOffer.SingleProductOffer.Installment |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
addInstallments(int index, PrivateOffer.SingleProductOffer.Installment.Builder builderForValue)
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder addInstallments(int index, PrivateOffer.SingleProductOffer.Installment.Builder builderForValue)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PrivateOffer.SingleProductOffer.Installment.Builder |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
addInstallmentsBuilder()
public PrivateOffer.SingleProductOffer.Installment.Builder addInstallmentsBuilder()Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.Installment.Builder |
|
addInstallmentsBuilder(int index)
public PrivateOffer.SingleProductOffer.Installment.Builder addInstallmentsBuilder(int index)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.Installment.Builder |
|
build()
public PrivateOffer.SingleProductOffer.CustomIntervalPrice build()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice |
|
buildPartial()
public PrivateOffer.SingleProductOffer.CustomIntervalPrice buildPartial()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice |
|
clear()
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder clear()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
clearInstallments()
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder clearInstallments()Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
getDefaultInstanceForType()
public PrivateOffer.SingleProductOffer.CustomIntervalPrice getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInstallments(int index)
public PrivateOffer.SingleProductOffer.Installment getInstallments(int index)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.Installment |
|
getInstallmentsBuilder(int index)
public PrivateOffer.SingleProductOffer.Installment.Builder getInstallmentsBuilder(int index)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.Installment.Builder |
|
getInstallmentsBuilderList()
public List<PrivateOffer.SingleProductOffer.Installment.Builder> getInstallmentsBuilderList()Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getInstallmentsCount()
public int getInstallmentsCount()Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getInstallmentsList()
public List<PrivateOffer.SingleProductOffer.Installment> getInstallmentsList()Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Installment> |
|
getInstallmentsOrBuilder(int index)
public PrivateOffer.SingleProductOffer.InstallmentOrBuilder getInstallmentsOrBuilder(int index)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.InstallmentOrBuilder |
|
getInstallmentsOrBuilderList()
public List<? extends PrivateOffer.SingleProductOffer.InstallmentOrBuilder> getInstallmentsOrBuilderList()Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.InstallmentOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PrivateOffer.SingleProductOffer.CustomIntervalPrice other)
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder mergeFrom(PrivateOffer.SingleProductOffer.CustomIntervalPrice other)| Parameter | |
|---|---|
| Name | Description |
other |
PrivateOffer.SingleProductOffer.CustomIntervalPrice |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
removeInstallments(int index)
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder removeInstallments(int index)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
setInstallments(int index, PrivateOffer.SingleProductOffer.Installment value)
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder setInstallments(int index, PrivateOffer.SingleProductOffer.Installment value)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
PrivateOffer.SingleProductOffer.Installment |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|
setInstallments(int index, PrivateOffer.SingleProductOffer.Installment.Builder builderForValue)
public PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder setInstallments(int index, PrivateOffer.SingleProductOffer.Installment.Builder builderForValue)Optional. The installments that make up the installment timeline. All installments must have the same form of price model (e.g. all commitment, or all flat fee). A subscription must be present under the price model for every installment.
Must contain at least one installment to publish the offer.
repeated .google.cloud.commerceproducer.v1beta.PrivateOffer.SingleProductOffer.Installment installments = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
PrivateOffer.SingleProductOffer.Installment.Builder |
| Returns | |
|---|---|
| Type | Description |
PrivateOffer.SingleProductOffer.CustomIntervalPrice.Builder |
|