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
public interface LicenseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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
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.String
getName()
Name of the resource.com.google.protobuf.ByteString
getNameBytes()
Name of the resource.LicenseResourceRequirements
getResourceRequirements()
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
LicenseResourceRequirementsOrBuilder
getResourceRequirementsOrBuilder()
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
String
getSelfLink()
[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.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.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
hasName()
Name of the resource.boolean
hasResourceRequirements()
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
boolean
hasSelfLink()
[Output Only] Server-defined URL for the resource.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 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.
-
hasKind
boolean hasKind()
[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] Type of resource. Always compute#license for licenses.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[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.
-
hasName
boolean hasName()
Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
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 with RFC1035.
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 with RFC1035.
optional string name = 3373707;
- Returns:
- The bytes for name.
-
hasResourceRequirements
boolean hasResourceRequirements()
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
- Returns:
- Whether the resourceRequirements field is set.
-
getResourceRequirements
LicenseResourceRequirements getResourceRequirements()
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
- Returns:
- The resourceRequirements.
-
getResourceRequirementsOrBuilder
LicenseResourceRequirementsOrBuilder getResourceRequirementsOrBuilder()
optional .google.cloud.compute.v1.LicenseResourceRequirements resource_requirements = 214292769;
-
hasSelfLink
boolean hasSelfLink()
[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] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
- Returns:
- The bytes for selfLink.
-
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.
-
-