Class ProvisionedService.Builder (3.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ProvisionedService.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ProvisionedService.Builder
Overrides

build()

public ProvisionedService build()
Returns
TypeDescription
ProvisionedService

buildPartial()

public ProvisionedService buildPartial()
Returns
TypeDescription
ProvisionedService

clear()

public ProvisionedService.Builder clear()
Returns
TypeDescription
ProvisionedService.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ProvisionedService.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ProvisionedService.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ProvisionedService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ProvisionedService.Builder

This builder for chaining.

clone()

public ProvisionedService.Builder clone()
Returns
TypeDescription
ProvisionedService.Builder
Overrides

getDefaultInstanceForType()

public ProvisionedService getDefaultInstanceForType()
Returns
TypeDescription
ProvisionedService

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for skuId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ProvisionedService other)

public ProvisionedService.Builder mergeFrom(ProvisionedService other)
Parameter
NameDescription
otherProvisionedService
Returns
TypeDescription
ProvisionedService.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ProvisionedService.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisionedService.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ProvisionedService.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ProvisionedService.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ProvisionedService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProvisionedService.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ProvisionedService.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The productId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for productId to set.

Returns
TypeDescription
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
NameDescription
valueString

The provisioningId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for provisioningId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The skuId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for skuId to set.

Returns
TypeDescription
ProvisionedService.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ProvisionedService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ProvisionedService.Builder
Overrides