Class TransferableSku.Builder (3.52.0)

public static final class TransferableSku.Builder extends GeneratedMessageV3.Builder<TransferableSku.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransferableSku.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferableSku.Builder
Overrides

build()

public TransferableSku build()
Returns
Type Description
TransferableSku

buildPartial()

public TransferableSku buildPartial()
Returns
Type Description
TransferableSku

clear()

public TransferableSku.Builder clear()
Returns
Type Description
TransferableSku.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TransferableSku.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransferableSku.Builder
Overrides

clearLegacySku()

public TransferableSku.Builder clearLegacySku()

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
TransferableSku.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TransferableSku.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransferableSku.Builder
Overrides

clearSku()

public TransferableSku.Builder clearSku()

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

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

Returns
Type Description
TransferableSku.Builder

clearTransferEligibility()

public TransferableSku.Builder clearTransferEligibility()

Describes the transfer eligibility of a SKU.

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

Returns
Type Description
TransferableSku.Builder

clone()

public TransferableSku.Builder clone()
Returns
Type Description
TransferableSku.Builder
Overrides

getDefaultInstanceForType()

public TransferableSku getDefaultInstanceForType()
Returns
Type Description
TransferableSku

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getLegacySkuBuilder()

public Sku.Builder getLegacySkuBuilder()

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.Builder

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

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.

getSkuBuilder()

public Sku.Builder getSkuBuilder()

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

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

Returns
Type Description
Sku.Builder

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.

getTransferEligibilityBuilder()

public TransferEligibility.Builder getTransferEligibilityBuilder()

Describes the transfer eligibility of a SKU.

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

Returns
Type Description
TransferEligibility.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransferableSku other)

public TransferableSku.Builder mergeFrom(TransferableSku other)
Parameter
Name Description
other TransferableSku
Returns
Type Description
TransferableSku.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransferableSku.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferableSku.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransferableSku.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransferableSku.Builder
Overrides

mergeLegacySku(Sku value)

public TransferableSku.Builder mergeLegacySku(Sku value)

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];

Parameter
Name Description
value Sku
Returns
Type Description
TransferableSku.Builder

mergeSku(Sku value)

public TransferableSku.Builder mergeSku(Sku value)

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

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

Parameter
Name Description
value Sku
Returns
Type Description
TransferableSku.Builder

mergeTransferEligibility(TransferEligibility value)

public TransferableSku.Builder mergeTransferEligibility(TransferEligibility value)

Describes the transfer eligibility of a SKU.

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

Parameter
Name Description
value TransferEligibility
Returns
Type Description
TransferableSku.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransferableSku.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferableSku.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TransferableSku.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferableSku.Builder
Overrides

setLegacySku(Sku value)

public TransferableSku.Builder setLegacySku(Sku value)

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];

Parameter
Name Description
value Sku
Returns
Type Description
TransferableSku.Builder

setLegacySku(Sku.Builder builderForValue)

public TransferableSku.Builder setLegacySku(Sku.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Sku.Builder
Returns
Type Description
TransferableSku.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TransferableSku.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TransferableSku.Builder
Overrides

setSku(Sku value)

public TransferableSku.Builder setSku(Sku value)

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

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

Parameter
Name Description
value Sku
Returns
Type Description
TransferableSku.Builder

setSku(Sku.Builder builderForValue)

public TransferableSku.Builder setSku(Sku.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Sku.Builder
Returns
Type Description
TransferableSku.Builder

setTransferEligibility(TransferEligibility value)

public TransferableSku.Builder setTransferEligibility(TransferEligibility value)

Describes the transfer eligibility of a SKU.

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

Parameter
Name Description
value TransferEligibility
Returns
Type Description
TransferableSku.Builder

setTransferEligibility(TransferEligibility.Builder builderForValue)

public TransferableSku.Builder setTransferEligibility(TransferEligibility.Builder builderForValue)

Describes the transfer eligibility of a SKU.

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

Parameter
Name Description
builderForValue TransferEligibility.Builder
Returns
Type Description
TransferableSku.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TransferableSku.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferableSku.Builder
Overrides