Class TransferableSku (3.36.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
TypeDescription
int

SKU_FIELD_NUMBER

public static final int SKU_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSFER_ELIGIBILITY_FIELD_NUMBER

public static final int TRANSFER_ELIGIBILITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TransferableSku getDefaultInstance()
Returns
TypeDescription
TransferableSku

getDescriptor()

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

newBuilder()

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

newBuilder(TransferableSku prototype)

public static TransferableSku.Builder newBuilder(TransferableSku prototype)
Parameter
NameDescription
prototypeTransferableSku
Returns
TypeDescription
TransferableSku.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public TransferableSku getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SkuOrBuilder

getParserForType()

public Parser<TransferableSku> getParserForType()
Returns
TypeDescription
Parser<TransferableSku>
Overrides

getSerializedSize()

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

getTransferEligibility()

public TransferEligibility getTransferEligibility()

Describes the transfer eligibility of a SKU.

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

Returns
TypeDescription
TransferEligibility

The transferEligibility.

getTransferEligibilityOrBuilder()

public TransferEligibilityOrBuilder getTransferEligibilityOrBuilder()

Describes the transfer eligibility of a SKU.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the transferEligibility field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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