Class ProvisionedService (3.24.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
TypeDescription
int

PROVISIONING_ID_FIELD_NUMBER

public static final int PROVISIONING_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SKU_ID_FIELD_NUMBER

public static final int SKU_ID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProvisionedService getDefaultInstance()
Returns
TypeDescription
ProvisionedService

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProvisionedService.Builder newBuilder()
Returns
TypeDescription
ProvisionedService.Builder

newBuilder(ProvisionedService prototype)

public static ProvisionedService.Builder newBuilder(ProvisionedService prototype)
Parameter
NameDescription
prototypeProvisionedService
Returns
TypeDescription
ProvisionedService.Builder

parseDelimitedFrom(InputStream input)

public static ProvisionedService parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProvisionedService parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProvisionedService parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProvisionedService parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProvisionedService parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProvisionedService parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProvisionedService parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProvisionedService
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProvisionedService> parser()
Returns
TypeDescription
Parser<ProvisionedService>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ProvisionedService getDefaultInstanceForType()
Returns
TypeDescription
ProvisionedService

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProvisionedService.Builder newBuilderForType()
Returns
TypeDescription
ProvisionedService.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProvisionedService.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProvisionedService.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProvisionedService.Builder toBuilder()
Returns
TypeDescription
ProvisionedService.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException