public final class License extends com.google.protobuf.GeneratedMessageV3 implements LicenseOrBuilder
Represents a License resource. A License represents billing and aggregate usage data for public and marketplace images. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.Protobuf type
google.cloud.compute.v1.License| Modifier and Type | Class and Description |
|---|---|
static class |
License.Builder
Represents a License resource.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOWED_REPLACEMENT_LICENSES_FIELD_NUMBER |
static int |
APPENDABLE_TO_DISK_FIELD_NUMBER |
static int |
CHARGES_USE_FEE_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
INCOMPATIBLE_LICENSES_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
LICENSE_CODE_FIELD_NUMBER |
static int |
MINIMUM_RETENTION_FIELD_NUMBER |
static int |
MULTI_TENANT_ONLY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
OS_LICENSE_FIELD_NUMBER |
static int |
REMOVABLE_FROM_DISK_FIELD_NUMBER |
static int |
REQUIRED_COATTACHED_LICENSES_FIELD_NUMBER |
static int |
RESOURCE_REQUIREMENTS_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
SELF_LINK_WITH_ID_FIELD_NUMBER |
static int |
SOLE_TENANT_ONLY_FIELD_NUMBER |
static int |
TRANSFERABLE_FIELD_NUMBER |
static int |
UPDATE_TIMESTAMP_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
static License |
getDefaultInstance() |
License |
getDefaultInstanceForType() |
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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
com.google.protobuf.Parser<License> |
getParserForType() |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static License.Builder |
newBuilder() |
static License.Builder |
newBuilder(License prototype) |
License.Builder |
newBuilderForType() |
protected License.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static License |
parseDelimitedFrom(InputStream input) |
static License |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static License |
parseFrom(byte[] data) |
static License |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static License |
parseFrom(ByteBuffer data) |
static License |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static License |
parseFrom(com.google.protobuf.ByteString data) |
static License |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static License |
parseFrom(com.google.protobuf.CodedInputStream input) |
static License |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static License |
parseFrom(InputStream input) |
static License |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<License> |
parser() |
License.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ALLOWED_REPLACEMENT_LICENSES_FIELD_NUMBER
public static final int APPENDABLE_TO_DISK_FIELD_NUMBER
public static final int CHARGES_USE_FEE_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int INCOMPATIBLE_LICENSES_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int LICENSE_CODE_FIELD_NUMBER
public static final int MINIMUM_RETENTION_FIELD_NUMBER
public static final int MULTI_TENANT_ONLY_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int OS_LICENSE_FIELD_NUMBER
public static final int REMOVABLE_FROM_DISK_FIELD_NUMBER
public static final int REQUIRED_COATTACHED_LICENSES_FIELD_NUMBER
public static final int RESOURCE_REQUIREMENTS_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int SOLE_TENANT_ONLY_FIELD_NUMBER
public static final int TRANSFERABLE_FIELD_NUMBER
public static final int UPDATE_TIMESTAMP_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList 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;getAllowedReplacementLicensesList in interface LicenseOrBuilderpublic 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;getAllowedReplacementLicensesCount in interface LicenseOrBuilderpublic 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;getAllowedReplacementLicenses in interface LicenseOrBuilderindex - The index of the element to return.public 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;getAllowedReplacementLicensesBytes in interface LicenseOrBuilderindex - The index of the value to return.public boolean hasAppendableToDisk()
If true, this license can be appended to an existing disk's set of licenses.
optional bool appendable_to_disk = 16959254;hasAppendableToDisk in interface LicenseOrBuilderpublic boolean getAppendableToDisk()
If true, this license can be appended to an existing disk's set of licenses.
optional bool appendable_to_disk = 16959254;getAppendableToDisk in interface LicenseOrBuilderpublic boolean hasChargesUseFee()
[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
optional bool charges_use_fee = 372412622;hasChargesUseFee in interface LicenseOrBuilderpublic boolean getChargesUseFee()
[Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
optional bool charges_use_fee = 372412622;getChargesUseFee in interface LicenseOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface LicenseOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface LicenseOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface LicenseOrBuilderpublic boolean hasDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;hasDescription in interface LicenseOrBuilderpublic String getDescription()
An optional textual description of the resource; provided by the client when the resource is created.
optional string description = 422937596;getDescription in interface LicenseOrBuilderpublic 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;getDescriptionBytes in interface LicenseOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface LicenseOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface LicenseOrBuilderpublic com.google.protobuf.ProtocolStringList 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;getIncompatibleLicensesList in interface LicenseOrBuilderpublic 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;getIncompatibleLicensesCount in interface LicenseOrBuilderpublic 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;getIncompatibleLicenses in interface LicenseOrBuilderindex - The index of the element to return.public 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;getIncompatibleLicensesBytes in interface LicenseOrBuilderindex - The index of the value to return.public boolean hasKind()
[Output Only] Type of resource. Always compute#license for licenses.
optional string kind = 3292052;hasKind in interface LicenseOrBuilderpublic String getKind()
[Output Only] Type of resource. Always compute#license for licenses.
optional string kind = 3292052;getKind in interface LicenseOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#license for licenses.
optional string kind = 3292052;getKindBytes in interface LicenseOrBuilderpublic boolean hasLicenseCode()
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
optional uint64 license_code = 1467179;hasLicenseCode in interface LicenseOrBuilderpublic long getLicenseCode()
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
optional uint64 license_code = 1467179;getLicenseCode in interface LicenseOrBuilderpublic 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;hasMinimumRetention in interface LicenseOrBuilderpublic 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;getMinimumRetention in interface LicenseOrBuilderpublic 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;getMinimumRetentionOrBuilder in interface LicenseOrBuilderpublic boolean hasMultiTenantOnly()
If true, this license can only be used on VMs on multi tenant nodes.
optional bool multi_tenant_only = 274395163;hasMultiTenantOnly in interface LicenseOrBuilderpublic boolean getMultiTenantOnly()
If true, this license can only be used on VMs on multi tenant nodes.
optional bool multi_tenant_only = 274395163;getMultiTenantOnly in interface LicenseOrBuilderpublic boolean hasName()
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
optional string name = 3373707;hasName in interface LicenseOrBuilderpublic String getName()
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
optional string name = 3373707;getName in interface LicenseOrBuilderpublic 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;getNameBytes in interface LicenseOrBuilderpublic 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;hasOsLicense in interface LicenseOrBuilderpublic 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;getOsLicense in interface LicenseOrBuilderpublic 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;hasRemovableFromDisk in interface LicenseOrBuilderpublic 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;getRemovableFromDisk in interface LicenseOrBuilderpublic com.google.protobuf.ProtocolStringList 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;getRequiredCoattachedLicensesList in interface LicenseOrBuilderpublic 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;getRequiredCoattachedLicensesCount in interface LicenseOrBuilderpublic 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;getRequiredCoattachedLicenses in interface LicenseOrBuilderindex - The index of the element to return.public 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;getRequiredCoattachedLicensesBytes in interface LicenseOrBuilderindex - The index of the value to return.public boolean hasResourceRequirements()
[Input Only] Deprecated.
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
hasResourceRequirements in interface LicenseOrBuilderpublic LicenseResourceRequirements getResourceRequirements()
[Input Only] Deprecated.
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
getResourceRequirements in interface LicenseOrBuilderpublic LicenseResourceRequirementsOrBuilder getResourceRequirementsOrBuilder()
[Input Only] Deprecated.
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
getResourceRequirementsOrBuilder in interface LicenseOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface LicenseOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface LicenseOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface LicenseOrBuilderpublic boolean hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;hasSelfLinkWithId in interface LicenseOrBuilderpublic String getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;getSelfLinkWithId in interface LicenseOrBuilderpublic com.google.protobuf.ByteString getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;getSelfLinkWithIdBytes in interface LicenseOrBuilderpublic boolean hasSoleTenantOnly()
If true, this license can only be used on VMs on sole tenant nodes.
optional bool sole_tenant_only = 427525559;hasSoleTenantOnly in interface LicenseOrBuilderpublic boolean getSoleTenantOnly()
If true, this license can only be used on VMs on sole tenant nodes.
optional bool sole_tenant_only = 427525559;getSoleTenantOnly in interface LicenseOrBuilderpublic 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;hasTransferable in interface LicenseOrBuilderpublic 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;getTransferable in interface LicenseOrBuilderpublic boolean hasUpdateTimestamp()
[Output Only] Last update timestamp in RFC3339 text format.
optional string update_timestamp = 120894752;hasUpdateTimestamp in interface LicenseOrBuilderpublic String getUpdateTimestamp()
[Output Only] Last update timestamp in RFC3339 text format.
optional string update_timestamp = 120894752;getUpdateTimestamp in interface LicenseOrBuilderpublic com.google.protobuf.ByteString getUpdateTimestampBytes()
[Output Only] Last update timestamp in RFC3339 text format.
optional string update_timestamp = 120894752;getUpdateTimestampBytes in interface LicenseOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static License parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static License parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static License parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static License parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static License parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static License parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static License parseFrom(InputStream input) throws IOException
IOExceptionpublic static License parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static License parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static License parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static License parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static License parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic License.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static License.Builder newBuilder()
public static License.Builder newBuilder(License prototype)
public License.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected License.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static License getDefaultInstance()
public static com.google.protobuf.Parser<License> parser()
public com.google.protobuf.Parser<License> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public License getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.