public final class LicenseCode extends com.google.protobuf.GeneratedMessageV3 implements LicenseCodeOrBuilder
Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.Protobuf type
google.cloud.compute.v1.LicenseCode| Modifier and Type | Class and Description |
|---|---|
static class |
LicenseCode.Builder
Represents a License Code resource.
|
static class |
LicenseCode.State
[Output Only] Current state of this License Code.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
LICENSE_ALIAS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TRANSFERABLE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static LicenseCode |
getDefaultInstance() |
LicenseCode |
getDefaultInstanceForType() |
String |
getDescription()
[Output Only] Description of this License Code.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
[Output Only] Description of this License Code.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<LicenseCode> |
getParserForType() |
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
[Output Only] Description of this License Code.
|
int |
hashCode() |
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LicenseCode.Builder |
newBuilder() |
static LicenseCode.Builder |
newBuilder(LicenseCode prototype) |
LicenseCode.Builder |
newBuilderForType() |
protected LicenseCode.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LicenseCode |
parseDelimitedFrom(InputStream input) |
static LicenseCode |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LicenseCode |
parseFrom(byte[] data) |
static LicenseCode |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LicenseCode |
parseFrom(ByteBuffer data) |
static LicenseCode |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LicenseCode |
parseFrom(com.google.protobuf.ByteString data) |
static LicenseCode |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LicenseCode |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LicenseCode |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LicenseCode |
parseFrom(InputStream input) |
static LicenseCode |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LicenseCode> |
parser() |
LicenseCode.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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 CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int LICENSE_ALIAS_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int TRANSFERABLE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields 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 boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface LicenseCodeOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface LicenseCodeOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface LicenseCodeOrBuilderpublic boolean hasDescription()
[Output Only] Description of this License Code.
optional string description = 422937596;hasDescription in interface LicenseCodeOrBuilderpublic String getDescription()
[Output Only] Description of this License Code.
optional string description = 422937596;getDescription in interface LicenseCodeOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
[Output Only] Description of this License Code.
optional string description = 422937596;getDescriptionBytes in interface LicenseCodeOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface LicenseCodeOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface LicenseCodeOrBuilderpublic boolean hasKind()
[Output Only] Type of resource. Always compute#licenseCode for licenses.
optional string kind = 3292052;hasKind in interface LicenseCodeOrBuilderpublic String getKind()
[Output Only] Type of resource. Always compute#licenseCode for licenses.
optional string kind = 3292052;getKind in interface LicenseCodeOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of resource. Always compute#licenseCode for licenses.
optional string kind = 3292052;getKindBytes in interface LicenseCodeOrBuilderpublic 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;
getLicenseAliasList in interface LicenseCodeOrBuilderpublic 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;
getLicenseAliasOrBuilderList in interface LicenseCodeOrBuilderpublic int getLicenseAliasCount()
[Output Only] URL and description aliases of Licenses with the same License Code.
repeated .google.cloud.compute.v1.LicenseCodeLicenseAlias license_alias = 43550930;
getLicenseAliasCount in interface LicenseCodeOrBuilderpublic 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;
getLicenseAlias in interface LicenseCodeOrBuilderpublic 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;
getLicenseAliasOrBuilder in interface LicenseCodeOrBuilderpublic 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;hasName in interface LicenseCodeOrBuilderpublic 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;getName in interface LicenseCodeOrBuilderpublic 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;getNameBytes in interface LicenseCodeOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface LicenseCodeOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface LicenseCodeOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface LicenseCodeOrBuilderpublic boolean hasState()
[Output Only] Current state of this License Code. Check the State enum for the list of possible values.
optional string state = 109757585;hasState in interface LicenseCodeOrBuilderpublic String getState()
[Output Only] Current state of this License Code. Check the State enum for the list of possible values.
optional string state = 109757585;getState in interface LicenseCodeOrBuilderpublic 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;getStateBytes in interface LicenseCodeOrBuilderpublic 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;hasTransferable in interface LicenseCodeOrBuilderpublic 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;getTransferable in interface LicenseCodeOrBuilderpublic 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 LicenseCode parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LicenseCode parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LicenseCode parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LicenseCode parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LicenseCode parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LicenseCode parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LicenseCode parseFrom(InputStream input) throws IOException
IOExceptionpublic static LicenseCode parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LicenseCode parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LicenseCode parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LicenseCode parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LicenseCode parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LicenseCode.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LicenseCode.Builder newBuilder()
public static LicenseCode.Builder newBuilder(LicenseCode prototype)
public LicenseCode.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LicenseCode.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LicenseCode getDefaultInstance()
public static com.google.protobuf.Parser<LicenseCode> parser()
public com.google.protobuf.Parser<LicenseCode> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LicenseCode getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.