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.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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TransferableSku.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TransferableSku build()
Returns
buildPartial()
public TransferableSku buildPartial()
Returns
clear()
public TransferableSku.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TransferableSku.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public TransferableSku.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clearTransferEligibility()
public TransferableSku.Builder clearTransferEligibility()
Describes the transfer eligibility of a SKU.
.google.cloud.channel.v1.TransferEligibility transfer_eligibility = 9;
Returns
clone()
public TransferableSku.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TransferableSku getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
getTransferEligibilityBuilder()
public TransferEligibility.Builder getTransferEligibilityBuilder()
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TransferableSku other)
public TransferableSku.Builder mergeFrom(TransferableSku other)
Parameter
Returns
public TransferableSku.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TransferableSku.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
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
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TransferableSku.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TransferableSku.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TransferableSku.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TransferableSku.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides