Class ProvisionedService.Builder (3.59.0)

public static final class ProvisionedService.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProvisionedService.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ProvisionedService.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ProvisionedService.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ProvisionedService.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProvisionedService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProvisionedService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProvisionedService.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ProvisionedService.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

public ProvisionedService.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ProvisionedService.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProvisionedService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ProvisionedService.Builder
Overrides