Class TransferableSku (3.59.0)

public final class TransferableSku extends GeneratedMessageV3 implements TransferableSkuOrBuilder

TransferableSku represents information a reseller needs to view existing provisioned services for a customer that they do not own. Read-only.

Protobuf type google.cloud.channel.v1.TransferableSku

Static Fields

LEGACY_SKU_FIELD_NUMBER

public static final int LEGACY_SKU_FIELD_NUMBER
Field Value
Type Description
int

SKU_FIELD_NUMBER

public static final int SKU_FIELD_NUMBER
Field Value
Type Description
int

TRANSFER_ELIGIBILITY_FIELD_NUMBER

public static final int TRANSFER_ELIGIBILITY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferableSku getDefaultInstance()
Returns
Type Description
TransferableSku

getDescriptor()

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

newBuilder()

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

newBuilder(TransferableSku prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TransferableSku getDefaultInstanceForType()
Returns
Type Description
TransferableSku

getLegacySku()

public Sku getLegacySku()

Optional. The customer to transfer has an entitlement with the populated legacy SKU.

.google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Sku

The legacySku.

getLegacySkuOrBuilder()

public SkuOrBuilder getLegacySkuOrBuilder()

Optional. The customer to transfer has an entitlement with the populated legacy SKU.

.google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SkuOrBuilder

getParserForType()

public Parser<TransferableSku> getParserForType()
Returns
Type Description
Parser<TransferableSku>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSku()

public Sku getSku()

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

.google.cloud.channel.v1.Sku sku = 11;

Returns
Type Description
Sku

The sku.

getSkuOrBuilder()

public SkuOrBuilder getSkuOrBuilder()

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

.google.cloud.channel.v1.Sku sku = 11;

Returns
Type Description
SkuOrBuilder

getTransferEligibility()

public TransferEligibility getTransferEligibility()

Describes the transfer eligibility of a SKU.

.google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9;

Returns
Type Description
TransferEligibility

The transferEligibility.

getTransferEligibilityOrBuilder()

public TransferEligibilityOrBuilder getTransferEligibilityOrBuilder()

Describes the transfer eligibility of a SKU.

.google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9;

Returns
Type Description
TransferEligibilityOrBuilder

hasLegacySku()

public boolean hasLegacySku()

Optional. The customer to transfer has an entitlement with the populated legacy SKU.

.google.cloud.channel.v1.Sku legacy_sku = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the legacySku field is set.

hasSku()

public boolean hasSku()

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

.google.cloud.channel.v1.Sku sku = 11;

Returns
Type Description
boolean

Whether the sku field is set.

hasTransferEligibility()

public boolean hasTransferEligibility()

Describes the transfer eligibility of a SKU.

.google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9;

Returns
Type Description
boolean

Whether the transferEligibility field is set.

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 TransferableSku.Builder newBuilderForType()
Returns
Type Description
TransferableSku.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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