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
Fields
LEGACY_SKU_FIELD_NUMBER
public static final int LEGACY_SKU_FIELD_NUMBER
Field Value
SKU_FIELD_NUMBER
public static final int SKU_FIELD_NUMBER
Field Value
TRANSFER_ELIGIBILITY_FIELD_NUMBER
public static final int TRANSFER_ELIGIBILITY_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static TransferableSku getDefaultInstance()
Returns
getDefaultInstanceForType()
public TransferableSku getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
getParserForType()
public Parser<TransferableSku> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getTransferEligibility()
public TransferEligibility getTransferEligibility()
Describes the transfer eligibility of a SKU.
.google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9;
Returns
getTransferEligibilityOrBuilder()
public TransferEligibilityOrBuilder getTransferEligibilityOrBuilder()
Describes the transfer eligibility of a SKU.
.google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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()
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static TransferableSku.Builder newBuilder()
Returns
newBuilder(TransferableSku prototype)
public static TransferableSku.Builder newBuilder(TransferableSku prototype)
Parameter
Returns
newBuilderForType()
public TransferableSku.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransferableSku.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static TransferableSku parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferableSku parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static TransferableSku parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransferableSku parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static TransferableSku parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransferableSku parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferableSku parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static TransferableSku parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static TransferableSku parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static TransferableSku parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static TransferableSku parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransferableSku parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<TransferableSku> parser()
Returns
toBuilder()
public TransferableSku.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions