Package com.google.cloud.compute.v1
Interface LicenseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
License,License.Builder
@Generated
public interface LicenseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedReplacementLicenses(int index) Specifies licenseCodes of licenses that can replace this license.com.google.protobuf.ByteStringgetAllowedReplacementLicensesBytes(int index) Specifies licenseCodes of licenses that can replace this license.intSpecifies licenseCodes of licenses that can replace this license.Specifies licenseCodes of licenses that can replace this license.booleanIf true, this license can be appended to an existing disk's set of licenses.boolean[Output Only] Deprecated.Output only.com.google.protobuf.ByteStringOutput only.An optional textual description of the resource; provided by the client when the resource is created.com.google.protobuf.ByteStringAn optional textual description of the resource; provided by the client when the resource is created.longgetId()[Output Only] The unique identifier for the resource.getIncompatibleLicenses(int index) Specifies licenseCodes of licenses that are incompatible with this license.com.google.protobuf.ByteStringgetIncompatibleLicensesBytes(int index) Specifies licenseCodes of licenses that are incompatible with this license.intSpecifies licenseCodes of licenses that are incompatible with this license.Specifies licenseCodes of licenses that are incompatible with this license.getKind()Output only.com.google.protobuf.ByteStringOutput only.long[Output Only] The unique code used to attach this license to images, snapshots, and disks.If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed.If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed.booleanIf true, this license can only be used on VMs on multi tenant nodes.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.booleanIf true, indicates this is an OS license.Input only.Input only.booleanIf true, this license can be removed from a disk's set of licenses, with no replacement license needed.getRequiredCoattachedLicenses(int index) Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license.com.google.protobuf.ByteStringgetRequiredCoattachedLicensesBytes(int index) Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license.intSpecifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license.Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license.[Input Only] Deprecated.[Input Only] Deprecated.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanIf true, this license can only be used on VMs on sole tenant nodes.booleanIf false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.Output only.com.google.protobuf.ByteStringOutput only.booleanIf true, this license can be appended to an existing disk's set of licenses.boolean[Output Only] Deprecated.booleanOutput only.booleanAn optional textual description of the resource; provided by the client when the resource is created.booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()Output only.boolean[Output Only] The unique code used to attach this license to images, snapshots, and disks.booleanIf set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed.booleanIf true, this license can only be used on VMs on multi tenant nodes.booleanhasName()Name of the resource.booleanIf true, indicates this is an OS license.booleanInput only.booleanIf true, this license can be removed from a disk's set of licenses, with no replacement license needed.boolean[Input Only] Deprecated.booleanOutput only.booleanOutput only.booleanIf true, this license can only be used on VMs on sole tenant nodes.booleanIf false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;- Returns:
- A list containing the allowedReplacementLicenses.
-
getAllowedReplacementLicensesCount
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;- Returns:
- The count of allowedReplacementLicenses.
-
getAllowedReplacementLicenses
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;- Parameters:
index- The index of the element to return.- Returns:
- The allowedReplacementLicenses at the given index.
-
getAllowedReplacementLicensesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedReplacementLicenses at the given index.
-
hasAppendableToDisk
boolean hasAppendableToDisk()If true, this license can be appended to an existing disk's set of licenses.
optional bool appendable_to_disk = 16959254;- Returns:
- Whether the appendableToDisk field is set.
-
getAppendableToDisk
boolean getAppendableToDisk()If true, this license can be appended to an existing disk's set of licenses.
optional bool appendable_to_disk = 16959254;- Returns:
- The appendableToDisk.
-
hasChargesUseFee
boolean hasChargesUseFee()[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
optional bool charges_use_fee = 372412622;- Returns:
- Whether the chargesUseFee field is set.
-
getChargesUseFee
boolean getChargesUseFee()[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
optional bool charges_use_fee = 372412622;- Returns:
- The chargesUseFee.
-
hasCreationTimestamp
boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
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;- Returns:
- The bytes for description.
-
hasId
boolean hasId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- The id.
-
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;- Returns:
- A list containing the incompatibleLicenses.
-
getIncompatibleLicensesCount
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;- Returns:
- The count of incompatibleLicenses.
-
getIncompatibleLicenses
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;- Parameters:
index- The index of the element to return.- Returns:
- The incompatibleLicenses at the given index.
-
getIncompatibleLicensesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the incompatibleLicenses at the given index.
-
hasKind
boolean hasKind()Output only. [Output Only] Type of resource. Always compute#license for licenses.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of resource. Always compute#license for licenses.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of resource. Always compute#license for licenses.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasLicenseCode
boolean hasLicenseCode()[Output Only] The unique code used to attach this license to images, snapshots, and disks.
optional uint64 license_code = 1467179;- Returns:
- Whether the licenseCode field is set.
-
getLicenseCode
long getLicenseCode()[Output Only] The unique code used to attach this license to images, snapshots, and disks.
optional uint64 license_code = 1467179;- Returns:
- The licenseCode.
-
hasMinimumRetention
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;- Returns:
- Whether the minimumRetention field is set.
-
getMinimumRetention
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;- Returns:
- The minimumRetention.
-
getMinimumRetentionOrBuilder
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; -
hasMultiTenantOnly
boolean hasMultiTenantOnly()If true, this license can only be used on VMs on multi tenant nodes.
optional bool multi_tenant_only = 274395163;- Returns:
- Whether the multiTenantOnly field is set.
-
getMultiTenantOnly
boolean getMultiTenantOnly()If true, this license can only be used on VMs on multi tenant nodes.
optional bool multi_tenant_only = 274395163;- Returns:
- The multiTenantOnly.
-
hasName
boolean hasName()Name of the resource. The name must be 1-63 characters long and comply withRFC1035.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()Name of the resource. The name must be 1-63 characters long and comply withRFC1035.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the resource. The name must be 1-63 characters long and comply withRFC1035.
optional string name = 3373707;- Returns:
- The bytes for name.
-
hasOsLicense
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;- Returns:
- Whether the osLicense field is set.
-
getOsLicense
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;- Returns:
- The osLicense.
-
hasParams
boolean hasParams()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.LicenseParams params = 78313862;- Returns:
- Whether the params field is set.
-
getParams
LicenseParams getParams()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.LicenseParams params = 78313862;- Returns:
- The params.
-
getParamsOrBuilder
LicenseParamsOrBuilder getParamsOrBuilder()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.LicenseParams params = 78313862; -
hasRemovableFromDisk
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;- Returns:
- Whether the removableFromDisk field is set.
-
getRemovableFromDisk
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;- Returns:
- The removableFromDisk.
-
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;- Returns:
- A list containing the requiredCoattachedLicenses.
-
getRequiredCoattachedLicensesCount
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;- Returns:
- The count of requiredCoattachedLicenses.
-
getRequiredCoattachedLicenses
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;- Parameters:
index- The index of the element to return.- Returns:
- The requiredCoattachedLicenses at the given index.
-
getRequiredCoattachedLicensesBytes
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;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requiredCoattachedLicenses at the given index.
-
hasResourceRequirements
boolean hasResourceRequirements()[Input Only] Deprecated.
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;- Returns:
- Whether the resourceRequirements field is set.
-
getResourceRequirements
LicenseResourceRequirements getResourceRequirements()[Input Only] Deprecated.
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;- Returns:
- The resourceRequirements.
-
getResourceRequirementsOrBuilder
LicenseResourceRequirementsOrBuilder getResourceRequirementsOrBuilder()[Input Only] Deprecated.
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769; -
hasSelfLink
boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasSelfLinkWithId
boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Returns:
- Whether the selfLinkWithId field is set.
-
getSelfLinkWithId
String getSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Returns:
- The selfLinkWithId.
-
getSelfLinkWithIdBytes
com.google.protobuf.ByteString getSelfLinkWithIdBytes()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Returns:
- The bytes for selfLinkWithId.
-
hasSoleTenantOnly
boolean hasSoleTenantOnly()If true, this license can only be used on VMs on sole tenant nodes.
optional bool sole_tenant_only = 427525559;- Returns:
- Whether the soleTenantOnly field is set.
-
getSoleTenantOnly
boolean getSoleTenantOnly()If true, this license can only be used on VMs on sole tenant nodes.
optional bool sole_tenant_only = 427525559;- Returns:
- The soleTenantOnly.
-
hasTransferable
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;- Returns:
- Whether the transferable field is set.
-
getTransferable
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;- Returns:
- The transferable.
-
hasUpdateTimestamp
boolean hasUpdateTimestamp()Output only. [Output Only] Last update timestamp inRFC3339 text format.
optional string update_timestamp = 120894752;- Returns:
- Whether the updateTimestamp field is set.
-
getUpdateTimestamp
String getUpdateTimestamp()Output only. [Output Only] Last update timestamp inRFC3339 text format.
optional string update_timestamp = 120894752;- Returns:
- The updateTimestamp.
-
getUpdateTimestampBytes
com.google.protobuf.ByteString getUpdateTimestampBytes()Output only. [Output Only] Last update timestamp inRFC3339 text format.
optional string update_timestamp = 120894752;- Returns:
- The bytes for updateTimestamp.
-