Interface LicenseCodeOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
LicenseCode, LicenseCode.Builder

@Generated public interface LicenseCodeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • 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()
       Output only. [Output Only] Description of this License Code.
       
      optional string description = 422937596;
      Returns:
      Whether the description field is set.
    • getDescription

      String getDescription()
       Output only. [Output Only] Description of this License Code.
       
      optional string description = 422937596;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Output only. [Output Only] Description of this License Code.
       
      optional string description = 422937596;
      Returns:
      The bytes for description.
    • hasId

      boolean hasId()
       Output only. [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. [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. [Output Only] Type of resource. Always compute#licenseCode 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#licenseCode for
       licenses.
       
      optional string kind = 3292052;
      Returns:
      The kind.
    • getKindBytes

      com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of resource. Always compute#licenseCode for
       licenses.
       
      optional string kind = 3292052;
      Returns:
      The bytes for kind.
    • getLicenseAliasList

      List<LicenseCodeLicenseAlias> getLicenseAliasList()
       [Output Only] URL and description aliases of Licenses with the same
       License Code.
       
      repeated .google.cloud.compute.v1.LicenseCodeLicenseAlias license_alias = 43550930;
    • getLicenseAlias

      LicenseCodeLicenseAlias getLicenseAlias(int index)
       [Output Only] URL and description aliases of Licenses with the same
       License Code.
       
      repeated .google.cloud.compute.v1.LicenseCodeLicenseAlias license_alias = 43550930;
    • getLicenseAliasCount

      int getLicenseAliasCount()
       [Output Only] URL and description aliases of Licenses with the same
       License Code.
       
      repeated .google.cloud.compute.v1.LicenseCodeLicenseAlias license_alias = 43550930;
    • getLicenseAliasOrBuilderList

      List<? extends LicenseCodeLicenseAliasOrBuilder> getLicenseAliasOrBuilderList()
       [Output Only] URL and description aliases of Licenses with the same
       License Code.
       
      repeated .google.cloud.compute.v1.LicenseCodeLicenseAlias license_alias = 43550930;
    • getLicenseAliasOrBuilder

      LicenseCodeLicenseAliasOrBuilder getLicenseAliasOrBuilder(int index)
       [Output Only] URL and description aliases of Licenses with the same
       License Code.
       
      repeated .google.cloud.compute.v1.LicenseCodeLicenseAlias license_alias = 43550930;
    • hasName

      boolean hasName()
       Output only. [Output Only] Name of the resource. The name is 1-20 characters long and
       must be a valid 64 bit integer.
       
      optional string name = 3373707;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       Output only. [Output Only] Name of the resource. The name is 1-20 characters long and
       must be a valid 64 bit integer.
       
      optional string name = 3373707;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. [Output Only] Name of the resource. The name is 1-20 characters long and
       must be a valid 64 bit integer.
       
      optional string name = 3373707;
      Returns:
      The bytes for name.
    • 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.
    • hasState

      boolean hasState()
       Output only. [Output Only] Current state of this License Code.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      Whether the state field is set.
    • getState

      String getState()
       Output only. [Output Only] Current state of this License Code.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      The state.
    • getStateBytes

      com.google.protobuf.ByteString getStateBytes()
       Output only. [Output Only] Current state of this License Code.
       Check the State enum for the list of possible values.
       
      optional string state = 109757585;
      Returns:
      The bytes for state.
    • hasTransferable

      boolean hasTransferable()
       Output only. [Output Only] If true, the license will remain attached when creating
       images or snapshots from disks. Otherwise, the license is not transferred.
       
      optional bool transferable = 4349893;
      Returns:
      Whether the transferable field is set.
    • getTransferable

      boolean getTransferable()
       Output only. [Output Only] If true, the license will remain attached when creating
       images or snapshots from disks. Otherwise, the license is not transferred.
       
      optional bool transferable = 4349893;
      Returns:
      The transferable.