Class ProvisionedService.Builder (3.87.0)

public static final class ProvisionedService.Builder extends GeneratedMessage.Builder<ProvisionedService.Builder> implements ProvisionedServiceOrBuilder

Service provisioned for an entitlement.

Protobuf type google.cloud.channel.v1.ProvisionedService

Static Methods

getDescriptor()

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

Methods

build()

public ProvisionedService build()
Returns
Type Description
ProvisionedService

buildPartial()

public ProvisionedService buildPartial()
Returns
Type Description
ProvisionedService

clear()

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

clearProductId()

public ProvisionedService.Builder clearProductId()

Output only. The product pertaining to the provisioning resource as specified in the Offer.

string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProvisionedService.Builder

This builder for chaining.

clearProvisioningId()

public ProvisionedService.Builder clearProvisioningId()

Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.

string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProvisionedService.Builder

This builder for chaining.

clearSkuId()

public ProvisionedService.Builder clearSkuId()

Output only. The SKU pertaining to the provisioning resource as specified in the Offer.

string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProvisionedService.Builder

This builder for chaining.

getDefaultInstanceForType()

public ProvisionedService getDefaultInstanceForType()
Returns
Type Description
ProvisionedService

getDescriptorForType()

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

getProductId()

public String getProductId()

Output only. The product pertaining to the provisioning resource as specified in the Offer.

string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The productId.

getProductIdBytes()

public ByteString getProductIdBytes()

Output only. The product pertaining to the provisioning resource as specified in the Offer.

string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for productId.

getProvisioningId()

public String getProvisioningId()

Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.

string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The provisioningId.

getProvisioningIdBytes()

public ByteString getProvisioningIdBytes()

Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.

string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for provisioningId.

getSkuId()

public String getSkuId()

Output only. The SKU pertaining to the provisioning resource as specified in the Offer.

string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The skuId.

getSkuIdBytes()

public ByteString getSkuIdBytes()

Output only. The SKU pertaining to the provisioning resource as specified in the Offer.

string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for skuId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ProvisionedService other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setProductId(String value)

public ProvisionedService.Builder setProductId(String value)

Output only. The product pertaining to the provisioning resource as specified in the Offer.

string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The productId to set.

Returns
Type Description
ProvisionedService.Builder

This builder for chaining.

setProductIdBytes(ByteString value)

public ProvisionedService.Builder setProductIdBytes(ByteString value)

Output only. The product pertaining to the provisioning resource as specified in the Offer.

string product_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for productId to set.

Returns
Type Description
ProvisionedService.Builder

This builder for chaining.

setProvisioningId(String value)

public ProvisionedService.Builder setProvisioningId(String value)

Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.

string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The provisioningId to set.

Returns
Type Description
ProvisionedService.Builder

This builder for chaining.

setProvisioningIdBytes(ByteString value)

public ProvisionedService.Builder setProvisioningIdBytes(ByteString value)

Output only. Provisioning ID of the entitlement. For Google Workspace, this is the underlying Subscription ID. For Google Cloud, this is the Billing Account ID of the billing subaccount.

string provisioning_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for provisioningId to set.

Returns
Type Description
ProvisionedService.Builder

This builder for chaining.

setSkuId(String value)

public ProvisionedService.Builder setSkuId(String value)

Output only. The SKU pertaining to the provisioning resource as specified in the Offer.

string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The skuId to set.

Returns
Type Description
ProvisionedService.Builder

This builder for chaining.

setSkuIdBytes(ByteString value)

public ProvisionedService.Builder setSkuIdBytes(ByteString value)

Output only. The SKU pertaining to the provisioning resource as specified in the Offer.

string sku_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for skuId to set.

Returns
Type Description
ProvisionedService.Builder

This builder for chaining.