- 3.87.0 (latest)
- 3.86.0
- 3.85.0
- 3.84.0
- 3.82.0
- 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 SkuPurchaseGroup.Builder extends GeneratedMessage.Builder<SkuPurchaseGroup.Builder> implements SkuPurchaseGroupOrBuilderRepresents a set of SKUs that must be purchased using the same billing account.
Protobuf type google.cloud.channel.v1.SkuPurchaseGroup
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SkuPurchaseGroup.BuilderImplements
SkuPurchaseGroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBillingAccountPurchaseInfos(Iterable<? extends BillingAccountPurchaseInfo> values)
public SkuPurchaseGroup.Builder addAllBillingAccountPurchaseInfos(Iterable<? extends BillingAccountPurchaseInfo> values)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.channel.v1.BillingAccountPurchaseInfo> |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
addAllSkus(Iterable<String> values)
public SkuPurchaseGroup.Builder addAllSkus(Iterable<String> values)Resource names of the SKUs included in this group. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The skus to add. |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
This builder for chaining. |
addBillingAccountPurchaseInfos(BillingAccountPurchaseInfo value)
public SkuPurchaseGroup.Builder addBillingAccountPurchaseInfos(BillingAccountPurchaseInfo value)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
BillingAccountPurchaseInfo |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
addBillingAccountPurchaseInfos(BillingAccountPurchaseInfo.Builder builderForValue)
public SkuPurchaseGroup.Builder addBillingAccountPurchaseInfos(BillingAccountPurchaseInfo.Builder builderForValue)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BillingAccountPurchaseInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
addBillingAccountPurchaseInfos(int index, BillingAccountPurchaseInfo value)
public SkuPurchaseGroup.Builder addBillingAccountPurchaseInfos(int index, BillingAccountPurchaseInfo value)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BillingAccountPurchaseInfo |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
addBillingAccountPurchaseInfos(int index, BillingAccountPurchaseInfo.Builder builderForValue)
public SkuPurchaseGroup.Builder addBillingAccountPurchaseInfos(int index, BillingAccountPurchaseInfo.Builder builderForValue)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BillingAccountPurchaseInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
addBillingAccountPurchaseInfosBuilder()
public BillingAccountPurchaseInfo.Builder addBillingAccountPurchaseInfosBuilder()List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Returns | |
|---|---|
| Type | Description |
BillingAccountPurchaseInfo.Builder |
|
addBillingAccountPurchaseInfosBuilder(int index)
public BillingAccountPurchaseInfo.Builder addBillingAccountPurchaseInfosBuilder(int index)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BillingAccountPurchaseInfo.Builder |
|
addSkus(String value)
public SkuPurchaseGroup.Builder addSkus(String value)Resource names of the SKUs included in this group. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe skus to add. |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
This builder for chaining. |
addSkusBytes(ByteString value)
public SkuPurchaseGroup.Builder addSkusBytes(ByteString value)Resource names of the SKUs included in this group. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the skus to add. |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
This builder for chaining. |
build()
public SkuPurchaseGroup build()| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup |
|
buildPartial()
public SkuPurchaseGroup buildPartial()| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup |
|
clear()
public SkuPurchaseGroup.Builder clear()| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
clearBillingAccountPurchaseInfos()
public SkuPurchaseGroup.Builder clearBillingAccountPurchaseInfos()List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
clearSkus()
public SkuPurchaseGroup.Builder clearSkus()Resource names of the SKUs included in this group. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 1;
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
This builder for chaining. |
getBillingAccountPurchaseInfos(int index)
public BillingAccountPurchaseInfo getBillingAccountPurchaseInfos(int index)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BillingAccountPurchaseInfo |
|
getBillingAccountPurchaseInfosBuilder(int index)
public BillingAccountPurchaseInfo.Builder getBillingAccountPurchaseInfosBuilder(int index)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BillingAccountPurchaseInfo.Builder |
|
getBillingAccountPurchaseInfosBuilderList()
public List<BillingAccountPurchaseInfo.Builder> getBillingAccountPurchaseInfosBuilderList()List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getBillingAccountPurchaseInfosCount()
public int getBillingAccountPurchaseInfosCount()List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getBillingAccountPurchaseInfosList()
public List<BillingAccountPurchaseInfo> getBillingAccountPurchaseInfosList()List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Returns | |
|---|---|
| Type | Description |
List<BillingAccountPurchaseInfo> |
|
getBillingAccountPurchaseInfosOrBuilder(int index)
public BillingAccountPurchaseInfoOrBuilder getBillingAccountPurchaseInfosOrBuilder(int index)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
BillingAccountPurchaseInfoOrBuilder |
|
getBillingAccountPurchaseInfosOrBuilderList()
public List<? extends BillingAccountPurchaseInfoOrBuilder> getBillingAccountPurchaseInfosOrBuilderList()List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.channel.v1.BillingAccountPurchaseInfoOrBuilder> |
|
getDefaultInstanceForType()
public SkuPurchaseGroup getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSkus(int index)
public String getSkus(int index)Resource names of the SKUs included in this group. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The skus at the given index. |
getSkusBytes(int index)
public ByteString getSkusBytes(int index)Resource names of the SKUs included in this group. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the skus at the given index. |
getSkusCount()
public int getSkusCount()Resource names of the SKUs included in this group. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The count of skus. |
getSkusList()
public ProtocolStringList getSkusList()Resource names of the SKUs included in this group. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 1;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the skus. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SkuPurchaseGroup other)
public SkuPurchaseGroup.Builder mergeFrom(SkuPurchaseGroup other)| Parameter | |
|---|---|
| Name | Description |
other |
SkuPurchaseGroup |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SkuPurchaseGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SkuPurchaseGroup.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
removeBillingAccountPurchaseInfos(int index)
public SkuPurchaseGroup.Builder removeBillingAccountPurchaseInfos(int index)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
setBillingAccountPurchaseInfos(int index, BillingAccountPurchaseInfo value)
public SkuPurchaseGroup.Builder setBillingAccountPurchaseInfos(int index, BillingAccountPurchaseInfo value)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
BillingAccountPurchaseInfo |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
setBillingAccountPurchaseInfos(int index, BillingAccountPurchaseInfo.Builder builderForValue)
public SkuPurchaseGroup.Builder setBillingAccountPurchaseInfos(int index, BillingAccountPurchaseInfo.Builder builderForValue)List of billing accounts that are eligible to purhcase these SKUs.
repeated .google.cloud.channel.v1.BillingAccountPurchaseInfo billing_account_purchase_infos = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
BillingAccountPurchaseInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
|
setSkus(int index, String value)
public SkuPurchaseGroup.Builder setSkus(int index, String value)Resource names of the SKUs included in this group. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe skus to set. |
| Returns | |
|---|---|
| Type | Description |
SkuPurchaseGroup.Builder |
This builder for chaining. |