public static final class QueryEligibleBillingAccountsRequest.Builder extends GeneratedMessageV3.Builder<QueryEligibleBillingAccountsRequest.Builder> implements QueryEligibleBillingAccountsRequestOrBuilderRequest message for QueryEligibleBillingAccounts.
Protobuf type google.cloud.channel.v1.QueryEligibleBillingAccountsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > QueryEligibleBillingAccountsRequest.BuilderImplements
QueryEligibleBillingAccountsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSkus(Iterable<String> values)
public QueryEligibleBillingAccountsRequest.Builder addAllSkus(Iterable<String> values)Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The skus to add. |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public QueryEligibleBillingAccountsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|
addSkus(String value)
public QueryEligibleBillingAccountsRequest.Builder addSkus(String value)Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe skus to add. |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
This builder for chaining. |
addSkusBytes(ByteString value)
public QueryEligibleBillingAccountsRequest.Builder addSkusBytes(ByteString value)Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the skus to add. |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
This builder for chaining. |
build()
public QueryEligibleBillingAccountsRequest build()| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest |
|
buildPartial()
public QueryEligibleBillingAccountsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest |
|
clear()
public QueryEligibleBillingAccountsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|
clearCustomer()
public QueryEligibleBillingAccountsRequest.Builder clearCustomer()Required. The resource name of the customer to list eligible billing accounts for. Format: accounts/{account_id}/customers/{customer_id}.
string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public QueryEligibleBillingAccountsRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public QueryEligibleBillingAccountsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|
clearSkus()
public QueryEligibleBillingAccountsRequest.Builder clearSkus()Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
This builder for chaining. |
clone()
public QueryEligibleBillingAccountsRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|
getCustomer()
public String getCustomer()Required. The resource name of the customer to list eligible billing accounts for. Format: accounts/{account_id}/customers/{customer_id}.
string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The customer. |
getCustomerBytes()
public ByteString getCustomerBytes()Required. The resource name of the customer to list eligible billing accounts for. Format: accounts/{account_id}/customers/{customer_id}.
string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for customer. |
getDefaultInstanceForType()
public QueryEligibleBillingAccountsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSkus(int index)
public String getSkus(int index)Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
| 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)Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
| 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()Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of skus. |
getSkusList()
public ProtocolStringList getSkusList()Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the skus. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(QueryEligibleBillingAccountsRequest other)
public QueryEligibleBillingAccountsRequest.Builder mergeFrom(QueryEligibleBillingAccountsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
QueryEligibleBillingAccountsRequest |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryEligibleBillingAccountsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public QueryEligibleBillingAccountsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final QueryEligibleBillingAccountsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|
setCustomer(String value)
public QueryEligibleBillingAccountsRequest.Builder setCustomer(String value)Required. The resource name of the customer to list eligible billing accounts for. Format: accounts/{account_id}/customers/{customer_id}.
string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe customer to set. |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
This builder for chaining. |
setCustomerBytes(ByteString value)
public QueryEligibleBillingAccountsRequest.Builder setCustomerBytes(ByteString value)Required. The resource name of the customer to list eligible billing accounts for. Format: accounts/{account_id}/customers/{customer_id}.
string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for customer to set. |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public QueryEligibleBillingAccountsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public QueryEligibleBillingAccountsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|
setSkus(int index, String value)
public QueryEligibleBillingAccountsRequest.Builder setSkus(int index, String value)Required. List of SKUs to list eligible billing accounts for. At least one SKU is required. Format: products/{product_id}/skus/{sku_id}.
repeated string skus = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe skus to set. |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final QueryEligibleBillingAccountsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
QueryEligibleBillingAccountsRequest.Builder |
|