Class QueryEligibleBillingAccountsResponse.Builder (3.52.0)

public static final class QueryEligibleBillingAccountsResponse.Builder extends GeneratedMessageV3.Builder<QueryEligibleBillingAccountsResponse.Builder> implements QueryEligibleBillingAccountsResponseOrBuilder

Response message for QueryEligibleBillingAccounts.

Protobuf type google.cloud.channel.v1.QueryEligibleBillingAccountsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllSkuPurchaseGroups(Iterable<? extends SkuPurchaseGroup> values)

public QueryEligibleBillingAccountsResponse.Builder addAllSkuPurchaseGroups(Iterable<? extends SkuPurchaseGroup> values)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.channel.v1.SkuPurchaseGroup>
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryEligibleBillingAccountsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder
Overrides

addSkuPurchaseGroups(SkuPurchaseGroup value)

public QueryEligibleBillingAccountsResponse.Builder addSkuPurchaseGroups(SkuPurchaseGroup value)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameter
Name Description
value SkuPurchaseGroup
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder

addSkuPurchaseGroups(SkuPurchaseGroup.Builder builderForValue)

public QueryEligibleBillingAccountsResponse.Builder addSkuPurchaseGroups(SkuPurchaseGroup.Builder builderForValue)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameter
Name Description
builderForValue SkuPurchaseGroup.Builder
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder

addSkuPurchaseGroups(int index, SkuPurchaseGroup value)

public QueryEligibleBillingAccountsResponse.Builder addSkuPurchaseGroups(int index, SkuPurchaseGroup value)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameters
Name Description
index int
value SkuPurchaseGroup
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder

addSkuPurchaseGroups(int index, SkuPurchaseGroup.Builder builderForValue)

public QueryEligibleBillingAccountsResponse.Builder addSkuPurchaseGroups(int index, SkuPurchaseGroup.Builder builderForValue)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameters
Name Description
index int
builderForValue SkuPurchaseGroup.Builder
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder

addSkuPurchaseGroupsBuilder()

public SkuPurchaseGroup.Builder addSkuPurchaseGroupsBuilder()

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Returns
Type Description
SkuPurchaseGroup.Builder

addSkuPurchaseGroupsBuilder(int index)

public SkuPurchaseGroup.Builder addSkuPurchaseGroupsBuilder(int index)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SkuPurchaseGroup.Builder

build()

public QueryEligibleBillingAccountsResponse build()
Returns
Type Description
QueryEligibleBillingAccountsResponse

buildPartial()

public QueryEligibleBillingAccountsResponse buildPartial()
Returns
Type Description
QueryEligibleBillingAccountsResponse

clear()

public QueryEligibleBillingAccountsResponse.Builder clear()
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QueryEligibleBillingAccountsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryEligibleBillingAccountsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder
Overrides

clearSkuPurchaseGroups()

public QueryEligibleBillingAccountsResponse.Builder clearSkuPurchaseGroups()

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder

clone()

public QueryEligibleBillingAccountsResponse.Builder clone()
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder
Overrides

getDefaultInstanceForType()

public QueryEligibleBillingAccountsResponse getDefaultInstanceForType()
Returns
Type Description
QueryEligibleBillingAccountsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSkuPurchaseGroups(int index)

public SkuPurchaseGroup getSkuPurchaseGroups(int index)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SkuPurchaseGroup

getSkuPurchaseGroupsBuilder(int index)

public SkuPurchaseGroup.Builder getSkuPurchaseGroupsBuilder(int index)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SkuPurchaseGroup.Builder

getSkuPurchaseGroupsBuilderList()

public List<SkuPurchaseGroup.Builder> getSkuPurchaseGroupsBuilderList()

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Returns
Type Description
List<Builder>

getSkuPurchaseGroupsCount()

public int getSkuPurchaseGroupsCount()

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Returns
Type Description
int

getSkuPurchaseGroupsList()

public List<SkuPurchaseGroup> getSkuPurchaseGroupsList()

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Returns
Type Description
List<SkuPurchaseGroup>

getSkuPurchaseGroupsOrBuilder(int index)

public SkuPurchaseGroupOrBuilder getSkuPurchaseGroupsOrBuilder(int index)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
SkuPurchaseGroupOrBuilder

getSkuPurchaseGroupsOrBuilderList()

public List<? extends SkuPurchaseGroupOrBuilder> getSkuPurchaseGroupsOrBuilderList()

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Returns
Type Description
List<? extends com.google.cloud.channel.v1.SkuPurchaseGroupOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(QueryEligibleBillingAccountsResponse other)

public QueryEligibleBillingAccountsResponse.Builder mergeFrom(QueryEligibleBillingAccountsResponse other)
Parameter
Name Description
other QueryEligibleBillingAccountsResponse
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryEligibleBillingAccountsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public QueryEligibleBillingAccountsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryEligibleBillingAccountsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder
Overrides

removeSkuPurchaseGroups(int index)

public QueryEligibleBillingAccountsResponse.Builder removeSkuPurchaseGroups(int index)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameter
Name Description
index int
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueryEligibleBillingAccountsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public QueryEligibleBillingAccountsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder
Overrides

setSkuPurchaseGroups(int index, SkuPurchaseGroup value)

public QueryEligibleBillingAccountsResponse.Builder setSkuPurchaseGroups(int index, SkuPurchaseGroup value)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameters
Name Description
index int
value SkuPurchaseGroup
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder

setSkuPurchaseGroups(int index, SkuPurchaseGroup.Builder builderForValue)

public QueryEligibleBillingAccountsResponse.Builder setSkuPurchaseGroups(int index, SkuPurchaseGroup.Builder builderForValue)

List of SKU purchase groups where each group represents a set of SKUs that must be purchased using the same billing account. Each SKU from [QueryEligibleBillingAccountsRequest.skus] will appear in exactly one SKU group.

repeated .google.cloud.channel.v1.SkuPurchaseGroup sku_purchase_groups = 1;

Parameters
Name Description
index int
builderForValue SkuPurchaseGroup.Builder
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryEligibleBillingAccountsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
QueryEligibleBillingAccountsResponse.Builder
Overrides