public static final class ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder extends GeneratedMessage.Builder<ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder> implements ListPurchasableOffersRequest.CreateEntitlementPurchaseOrBuilderList Offers for CreateEntitlement purchase.
Protobuf type
google.cloud.channel.v1.ListPurchasableOffersRequest.CreateEntitlementPurchase
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListPurchasableOffersRequest.CreateEntitlementPurchase.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListPurchasableOffersRequest.CreateEntitlementPurchase build()| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase |
|
buildPartial()
public ListPurchasableOffersRequest.CreateEntitlementPurchase buildPartial()| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase |
|
clear()
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
|
clearBillingAccount()
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder clearBillingAccount()Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string billing_account = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
This builder for chaining. |
clearSku()
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder clearSku()Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
This builder for chaining. |
getBillingAccount()
public String getBillingAccount()Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string billing_account = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The billingAccount. |
getBillingAccountBytes()
public ByteString getBillingAccountBytes()Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string billing_account = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for billingAccount. |
getDefaultInstanceForType()
public ListPurchasableOffersRequest.CreateEntitlementPurchase getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSku()
public String getSku()Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The sku. |
getSkuBytes()
public ByteString getSkuBytes()Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sku. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListPurchasableOffersRequest.CreateEntitlementPurchase other)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder mergeFrom(ListPurchasableOffersRequest.CreateEntitlementPurchase other)| Parameter | |
|---|---|
| Name | Description |
other |
ListPurchasableOffersRequest.CreateEntitlementPurchase |
| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
|
setBillingAccount(String value)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder setBillingAccount(String value)Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string billing_account = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe billingAccount to set. |
| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
This builder for chaining. |
setBillingAccountBytes(ByteString value)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder setBillingAccountBytes(ByteString value)Optional. Billing account that the result should be restricted to. Format: accounts/{account_id}/billingAccounts/{billing_account_id}.
string billing_account = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for billingAccount to set. |
| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
This builder for chaining. |
setSku(String value)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder setSku(String value)Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sku to set. |
| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
This builder for chaining. |
setSkuBytes(ByteString value)
public ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder setSkuBytes(ByteString value)Required. SKU that the result should be restricted to. Format: products/{product_id}/skus/{sku_id}.
string sku = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sku to set. |
| Returns | |
|---|---|
| Type | Description |
ListPurchasableOffersRequest.CreateEntitlementPurchase.Builder |
This builder for chaining. |