Class ProvisionedService (3.48.0)

public final class ProvisionedService extends GeneratedMessageV3 implements ProvisionedServiceOrBuilder

Service provisioned for an entitlement.

Protobuf type google.cloud.channel.v1.ProvisionedService

Static Fields

PRODUCT_ID_FIELD_NUMBER

public static final int PRODUCT_ID_FIELD_NUMBER
Field Value
Type Description
int

PROVISIONING_ID_FIELD_NUMBER

public static final int PROVISIONING_ID_FIELD_NUMBER
Field Value
Type Description
int

SKU_ID_FIELD_NUMBER

public static final int SKU_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ProvisionedService getDefaultInstance()
Returns
Type Description
ProvisionedService

getDescriptor()

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

newBuilder()

public static ProvisionedService.Builder newBuilder()
Returns
Type Description
ProvisionedService.Builder

newBuilder(ProvisionedService prototype)

public static ProvisionedService.Builder newBuilder(ProvisionedService prototype)
Parameter
Name Description
prototype ProvisionedService
Returns
Type Description
ProvisionedService.Builder

parseDelimitedFrom(InputStream input)

public static ProvisionedService parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProvisionedService
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionedService
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ProvisionedService parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ProvisionedService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionedService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProvisionedService parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ProvisionedService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionedService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProvisionedService parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ProvisionedService
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionedService
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ProvisionedService parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ProvisionedService
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionedService
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ProvisionedService parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ProvisionedService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ProvisionedService
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ProvisionedService> parser()
Returns
Type Description
Parser<ProvisionedService>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ProvisionedService getDefaultInstanceForType()
Returns
Type Description
ProvisionedService

getParserForType()

public Parser<ProvisionedService> getParserForType()
Returns
Type Description
Parser<ProvisionedService>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ProvisionedService.Builder newBuilderForType()
Returns
Type Description
ProvisionedService.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProvisionedService.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ProvisionedService.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ProvisionedService.Builder toBuilder()
Returns
Type Description
ProvisionedService.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException