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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferableSku.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TransferableSku build()
buildPartial()
public TransferableSku buildPartial()
clear()
public TransferableSku.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferableSku.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferableSku.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clearTransferEligibility()
public TransferableSku.Builder clearTransferEligibility()
Describes the transfer eligibility of a SKU.
.google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9;
clone()
public TransferableSku.Builder clone()
Overrides
getDefaultInstanceForType()
public TransferableSku getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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;
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;
getTransferEligibilityBuilder()
public TransferEligibility.Builder getTransferEligibilityBuilder()
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TransferableSku other)
public TransferableSku.Builder mergeFrom(TransferableSku other)
public TransferableSku.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TransferableSku.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
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
|
mergeTransferEligibility(TransferEligibility value)
public TransferableSku.Builder mergeTransferEligibility(TransferEligibility value)
Describes the transfer eligibility of a SKU.
.google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferableSku.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferableSku.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferableSku.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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
|
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;
setTransferEligibility(TransferEligibility value)
public TransferableSku.Builder setTransferEligibility(TransferEligibility value)
Describes the transfer eligibility of a SKU.
.google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferableSku.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides