Interface LicenseCodeOrBuilder

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

    public interface LicenseCodeOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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()
      [Output Only] Description of this License Code.
      com.google.protobuf.ByteString getDescriptionBytes()
      [Output Only] Description of this License Code.
      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.
      LicenseCodeLicenseAlias getLicenseAlias​(int index)
      [Output Only] URL and description aliases of Licenses with the same License Code.
      int getLicenseAliasCount()
      [Output Only] URL and description aliases of Licenses with the same License Code.
      List<LicenseCodeLicenseAlias> getLicenseAliasList()
      [Output Only] URL and description aliases of Licenses with the same License Code.
      LicenseCodeLicenseAliasOrBuilder getLicenseAliasOrBuilder​(int index)
      [Output Only] URL and description aliases of Licenses with the same License Code.
      List<? extends LicenseCodeLicenseAliasOrBuilder> getLicenseAliasOrBuilderList()
      [Output Only] URL and description aliases of Licenses with the same License Code.
      String getName()
      [Output Only] Name of the resource.
      com.google.protobuf.ByteString getNameBytes()
      [Output Only] Name of the resource.
      String getSelfLink()
      [Output Only] Server-defined URL for the resource.
      com.google.protobuf.ByteString getSelfLinkBytes()
      [Output Only] Server-defined URL for the resource.
      String getState()
      [Output Only] Current state of this License Code.
      com.google.protobuf.ByteString getStateBytes()
      [Output Only] Current state of this License Code.
      boolean getTransferable()
      [Output Only] If true, the license will remain attached when creating images or snapshots from disks.
      boolean hasCreationTimestamp()
      [Output Only] Creation timestamp in RFC3339 text format.
      boolean hasDescription()
      [Output Only] Description of this License Code.
      boolean hasId()
      [Output Only] The unique identifier for the resource.
      boolean hasKind()
      [Output Only] Type of resource.
      boolean hasName()
      [Output Only] Name of the resource.
      boolean hasSelfLink()
      [Output Only] Server-defined URL for the resource.
      boolean hasState()
      [Output Only] Current state of this License Code.
      boolean hasTransferable()
      [Output Only] If true, the license will remain attached when creating images or snapshots from disks.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

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

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

        com.google.protobuf.ByteString getDescriptionBytes()
         [Output Only] Description of this License Code.
         
        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#licenseCode for licenses.
         
        optional string kind = 3292052;
        Returns:
        Whether the kind field is set.
      • getKind

        String getKind()
         [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] 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] 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] 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] 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] 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.
      • hasState

        boolean hasState()
         [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] 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] 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] 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] 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.