public static final class QueryEligibleBillingAccountsRequest.Builder extends GeneratedMessage.Builder<QueryEligibleBillingAccountsRequest.Builder> implements QueryEligibleBillingAccountsRequestOrBuilderRequest message for QueryEligibleBillingAccounts.
Protobuf type google.cloud.channel.v1.QueryEligibleBillingAccountsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.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. |
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. |
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. |
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 GeneratedMessage.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 |
|
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. |
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. |