Class TransferableSku.Builder (3.7.4)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransferableSku.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransferableSku.Builder
Overrides

build()

public TransferableSku build()
Returns
TypeDescription
TransferableSku

buildPartial()

public TransferableSku buildPartial()
Returns
TypeDescription
TransferableSku

clear()

public TransferableSku.Builder clear()
Returns
TypeDescription
TransferableSku.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TransferableSku.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
TransferableSku.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public TransferableSku.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
TransferableSku.Builder

clearTransferEligibility()

public TransferableSku.Builder clearTransferEligibility()

Describes the transfer eligibility of a SKU.

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

Returns
TypeDescription
TransferableSku.Builder

clone()

public TransferableSku.Builder clone()
Returns
TypeDescription
TransferableSku.Builder
Overrides

getDefaultInstanceForType()

public TransferableSku getDefaultInstanceForType()
Returns
TypeDescription
TransferableSku

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.

getTransferEligibilityBuilder()

public TransferEligibility.Builder getTransferEligibilityBuilder()

Describes the transfer eligibility of a SKU.

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

Returns
TypeDescription
TransferEligibility.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TransferableSku other)

public TransferableSku.Builder mergeFrom(TransferableSku other)
Parameter
NameDescription
otherTransferableSku
Returns
TypeDescription
TransferableSku.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransferableSku.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransferableSku.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TransferableSku.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSku
Returns
TypeDescription
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
NameDescription
valueSku
Returns
TypeDescription
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
NameDescription
valueTransferEligibility
Returns
TypeDescription
TransferableSku.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransferableSku.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransferableSku.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TransferableSku.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSku
Returns
TypeDescription
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
NameDescription
builderForValueSku.Builder
Returns
TypeDescription
TransferableSku.Builder

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

public TransferableSku.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSku
Returns
TypeDescription
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
NameDescription
builderForValueSku.Builder
Returns
TypeDescription
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
NameDescription
valueTransferEligibility
Returns
TypeDescription
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
NameDescription
builderForValueTransferEligibility.Builder
Returns
TypeDescription
TransferableSku.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TransferableSku.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransferableSku.Builder
Overrides