public interface LicenseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowedReplacementLicenses(int index)
Specifies licenseCodes of licenses that can replace this license.
|
com.google.protobuf.ByteString |
getAllowedReplacementLicensesBytes(int index)
Specifies licenseCodes of licenses that can replace this license.
|
int |
getAllowedReplacementLicensesCount()
Specifies licenseCodes of licenses that can replace this license.
|
List<String> |
getAllowedReplacementLicensesList()
Specifies licenseCodes of licenses that can replace this license.
|
boolean |
getAppendableToDisk()
If true, this license can be appended to an existing disk's set of licenses.
|
boolean |
getChargesUseFee()
[Output Only] Deprecated.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional textual description of the resource; provided by the client when the resource is created.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional textual description of the resource; provided by the client when the resource is created.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getIncompatibleLicenses(int index)
Specifies licenseCodes of licenses that are incompatible with this license.
|
com.google.protobuf.ByteString |
getIncompatibleLicensesBytes(int index)
Specifies licenseCodes of licenses that are incompatible with this license.
|
int |
getIncompatibleLicensesCount()
Specifies licenseCodes of licenses that are incompatible with this license.
|
List<String> |
getIncompatibleLicensesList()
Specifies licenseCodes of licenses that are incompatible with this license.
|
String |
getKind()
[Output Only] Type of resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of resource.
|
long |
getLicenseCode()
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
|
Duration |
getMinimumRetention()
If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed.
|
DurationOrBuilder |
getMinimumRetentionOrBuilder()
If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed.
|
boolean |
getMultiTenantOnly()
If true, this license can only be used on VMs on multi tenant nodes.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
boolean |
getOsLicense()
If true, indicates this is an OS license.
|
boolean |
getRemovableFromDisk()
If true, this license can be removed from a disk's set of licenses, with no replacement license needed.
|
String |
getRequiredCoattachedLicenses(int index)
Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license.
|
com.google.protobuf.ByteString |
getRequiredCoattachedLicensesBytes(int index)
Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license.
|
int |
getRequiredCoattachedLicensesCount()
Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license.
|
List<String> |
getRequiredCoattachedLicensesList()
Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license.
|
LicenseResourceRequirements |
getResourceRequirements()
[Input Only] Deprecated.
|
LicenseResourceRequirementsOrBuilder |
getResourceRequirementsOrBuilder()
[Input Only] Deprecated.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
|
com.google.protobuf.ByteString |
getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource with the resource id.
|
boolean |
getSoleTenantOnly()
If true, this license can only be used on VMs on sole tenant nodes.
|
boolean |
getTransferable()
If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.
|
String |
getUpdateTimestamp()
[Output Only] Last update timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getUpdateTimestampBytes()
[Output Only] Last update timestamp in RFC3339 text format.
|
boolean |
hasAppendableToDisk()
If true, this license can be appended to an existing disk's set of licenses.
|
boolean |
hasChargesUseFee()
[Output Only] Deprecated.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional textual description of the resource; provided by the client when the resource is created.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of resource.
|
boolean |
hasLicenseCode()
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
|
boolean |
hasMinimumRetention()
If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed.
|
boolean |
hasMultiTenantOnly()
If true, this license can only be used on VMs on multi tenant nodes.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasOsLicense()
If true, indicates this is an OS license.
|
boolean |
hasRemovableFromDisk()
If true, this license can be removed from a disk's set of licenses, with no replacement license needed.
|
boolean |
hasResourceRequirements()
[Input Only] Deprecated.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
|
boolean |
hasSoleTenantOnly()
If true, this license can only be used on VMs on sole tenant nodes.
|
boolean |
hasTransferable()
If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.
|
boolean |
hasUpdateTimestamp()
[Output Only] Last update timestamp in RFC3339 text format.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<String> getAllowedReplacementLicensesList()
Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false.
repeated string allowed_replacement_licenses = 195677718;int getAllowedReplacementLicensesCount()
Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false.
repeated string allowed_replacement_licenses = 195677718;String getAllowedReplacementLicenses(int index)
Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false.
repeated string allowed_replacement_licenses = 195677718;index - The index of the element to return.com.google.protobuf.ByteString getAllowedReplacementLicensesBytes(int index)
Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false.
repeated string allowed_replacement_licenses = 195677718;index - The index of the value to return.boolean hasAppendableToDisk()
If true, this license can be appended to an existing disk's set of licenses.
optional bool appendable_to_disk = 16959254;boolean getAppendableToDisk()
If true, this license can be appended to an existing disk's set of licenses.
optional bool appendable_to_disk = 16959254;boolean hasChargesUseFee()
[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
optional bool charges_use_fee = 372412622;boolean getChargesUseFee()
[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
optional bool charges_use_fee = 372412622;boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;boolean hasDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;String getDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;com.google.protobuf.ByteString getDescriptionBytes()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;List<String> getIncompatibleLicensesList()
Specifies licenseCodes of licenses that are incompatible with this license. If a license is incompatible with this license, it cannot be attached to the same disk or image.
repeated string incompatible_licenses = 334239768;int getIncompatibleLicensesCount()
Specifies licenseCodes of licenses that are incompatible with this license. If a license is incompatible with this license, it cannot be attached to the same disk or image.
repeated string incompatible_licenses = 334239768;String getIncompatibleLicenses(int index)
Specifies licenseCodes of licenses that are incompatible with this license. If a license is incompatible with this license, it cannot be attached to the same disk or image.
repeated string incompatible_licenses = 334239768;index - The index of the element to return.com.google.protobuf.ByteString getIncompatibleLicensesBytes(int index)
Specifies licenseCodes of licenses that are incompatible with this license. If a license is incompatible with this license, it cannot be attached to the same disk or image.
repeated string incompatible_licenses = 334239768;index - The index of the value to return.boolean hasKind()
[Output Only] Type of resource. Always compute#license for licenses.
optional string kind = 3292052;String getKind()
[Output Only] Type of resource. Always compute#license for licenses.
optional string kind = 3292052;com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#license for licenses.
optional string kind = 3292052;boolean hasLicenseCode()
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
optional uint64 license_code = 1467179;long getLicenseCode()
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
optional uint64 license_code = 1467179;boolean hasMinimumRetention()
If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed.
optional .google.cloud.compute.v1.Duration minimum_retention = 155398189;Duration getMinimumRetention()
If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed.
optional .google.cloud.compute.v1.Duration minimum_retention = 155398189;DurationOrBuilder getMinimumRetentionOrBuilder()
If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed.
optional .google.cloud.compute.v1.Duration minimum_retention = 155398189;boolean hasMultiTenantOnly()
If true, this license can only be used on VMs on multi tenant nodes.
optional bool multi_tenant_only = 274395163;boolean getMultiTenantOnly()
If true, this license can only be used on VMs on multi tenant nodes.
optional bool multi_tenant_only = 274395163;boolean hasName()
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
optional string name = 3373707;String getName()
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
optional string name = 3373707;com.google.protobuf.ByteString getNameBytes()
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
optional string name = 3373707;boolean hasOsLicense()
If true, indicates this is an OS license. Only one OS license can be attached to a disk or image at a time.
optional bool os_license = 487986406;boolean getOsLicense()
If true, indicates this is an OS license. Only one OS license can be attached to a disk or image at a time.
optional bool os_license = 487986406;boolean hasRemovableFromDisk()
If true, this license can be removed from a disk's set of licenses, with no replacement license needed.
optional bool removable_from_disk = 25854638;boolean getRemovableFromDisk()
If true, this license can be removed from a disk's set of licenses, with no replacement license needed.
optional bool removable_from_disk = 25854638;List<String> getRequiredCoattachedLicensesList()
Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license. At least one license from the set must be attached to the same disk or image as this license.
repeated string required_coattached_licenses = 129195265;int getRequiredCoattachedLicensesCount()
Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license. At least one license from the set must be attached to the same disk or image as this license.
repeated string required_coattached_licenses = 129195265;String getRequiredCoattachedLicenses(int index)
Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license. At least one license from the set must be attached to the same disk or image as this license.
repeated string required_coattached_licenses = 129195265;index - The index of the element to return.com.google.protobuf.ByteString getRequiredCoattachedLicensesBytes(int index)
Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license. At least one license from the set must be attached to the same disk or image as this license.
repeated string required_coattached_licenses = 129195265;index - The index of the value to return.boolean hasResourceRequirements()
[Input Only] Deprecated.
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
LicenseResourceRequirements getResourceRequirements()
[Input Only] Deprecated.
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
LicenseResourceRequirementsOrBuilder getResourceRequirementsOrBuilder()
[Input Only] Deprecated.
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;boolean hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;String getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;com.google.protobuf.ByteString getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;boolean hasSoleTenantOnly()
If true, this license can only be used on VMs on sole tenant nodes.
optional bool sole_tenant_only = 427525559;boolean getSoleTenantOnly()
If true, this license can only be used on VMs on sole tenant nodes.
optional bool sole_tenant_only = 427525559;boolean hasTransferable()
If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.
optional bool transferable = 4349893;boolean getTransferable()
If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.
optional bool transferable = 4349893;boolean hasUpdateTimestamp()
[Output Only] Last update timestamp in RFC3339 text format.
optional string update_timestamp = 120894752;String getUpdateTimestamp()
[Output Only] Last update timestamp in RFC3339 text format.
optional string update_timestamp = 120894752;com.google.protobuf.ByteString getUpdateTimestampBytes()
[Output Only] Last update timestamp in RFC3339 text format.
optional string update_timestamp = 120894752;Copyright © 2025 Google LLC. All rights reserved.