Class QueryEligibleBillingAccountsResponse.Builder (3.35.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.channel.v1.SkuPurchaseGroup>
Returns
TypeDescription
QueryEligibleBillingAccountsResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public QueryEligibleBillingAccountsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSkuPurchaseGroup
Returns
TypeDescription
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
NameDescription
builderForValueSkuPurchaseGroup.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSkuPurchaseGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSkuPurchaseGroup.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SkuPurchaseGroup.Builder

build()

public QueryEligibleBillingAccountsResponse build()
Returns
TypeDescription
QueryEligibleBillingAccountsResponse

buildPartial()

public QueryEligibleBillingAccountsResponse buildPartial()
Returns
TypeDescription
QueryEligibleBillingAccountsResponse

clear()

public QueryEligibleBillingAccountsResponse.Builder clear()
Returns
TypeDescription
QueryEligibleBillingAccountsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public QueryEligibleBillingAccountsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
QueryEligibleBillingAccountsResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public QueryEligibleBillingAccountsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
QueryEligibleBillingAccountsResponse.Builder

clone()

public QueryEligibleBillingAccountsResponse.Builder clone()
Returns
TypeDescription
QueryEligibleBillingAccountsResponse.Builder
Overrides

getDefaultInstanceForType()

public QueryEligibleBillingAccountsResponse getDefaultInstanceForType()
Returns
TypeDescription
QueryEligibleBillingAccountsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.channel.v1.SkuPurchaseGroupOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(QueryEligibleBillingAccountsResponse other)

public QueryEligibleBillingAccountsResponse.Builder mergeFrom(QueryEligibleBillingAccountsResponse other)
Parameter
NameDescription
otherQueryEligibleBillingAccountsResponse
Returns
TypeDescription
QueryEligibleBillingAccountsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public QueryEligibleBillingAccountsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
QueryEligibleBillingAccountsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public QueryEligibleBillingAccountsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
QueryEligibleBillingAccountsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final QueryEligibleBillingAccountsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
QueryEligibleBillingAccountsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public QueryEligibleBillingAccountsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
QueryEligibleBillingAccountsResponse.Builder
Overrides

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

public QueryEligibleBillingAccountsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueSkuPurchaseGroup
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSkuPurchaseGroup.Builder
Returns
TypeDescription
QueryEligibleBillingAccountsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final QueryEligibleBillingAccountsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
QueryEligibleBillingAccountsResponse.Builder
Overrides