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