Class LicenseCodeLicenseAlias (1.64.0)

public final class LicenseCodeLicenseAlias extends GeneratedMessageV3 implements LicenseCodeLicenseAliasOrBuilder

Protobuf type google.cloud.compute.v1.LicenseCodeLicenseAlias

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int
public static final int SELF_LINK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LicenseCodeLicenseAlias getDefaultInstance()
Returns
Type Description
LicenseCodeLicenseAlias

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static LicenseCodeLicenseAlias.Builder newBuilder()
Returns
Type Description
LicenseCodeLicenseAlias.Builder

newBuilder(LicenseCodeLicenseAlias prototype)

public static LicenseCodeLicenseAlias.Builder newBuilder(LicenseCodeLicenseAlias prototype)
Parameter
Name Description
prototype LicenseCodeLicenseAlias
Returns
Type Description
LicenseCodeLicenseAlias.Builder

parseDelimitedFrom(InputStream input)

public static LicenseCodeLicenseAlias parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LicenseCodeLicenseAlias parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LicenseCodeLicenseAlias parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LicenseCodeLicenseAlias parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LicenseCodeLicenseAlias parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LicenseCodeLicenseAlias parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LicenseCodeLicenseAlias
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LicenseCodeLicenseAlias> parser()
Returns
Type Description
Parser<LicenseCodeLicenseAlias>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public LicenseCodeLicenseAlias getDefaultInstanceForType()
Returns
Type Description
LicenseCodeLicenseAlias

getDescription()

public String getDescription()

[Output Only] Description of this License Code.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

[Output Only] Description of this License Code.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getParserForType()

public Parser<LicenseCodeLicenseAlias> getParserForType()
Returns
Type Description
Parser<LicenseCodeLicenseAlias>
Overrides
public String getSelfLink()

[Output Only] URL of license corresponding to this License Code.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

[Output Only] URL of license corresponding to this License Code.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasDescription()

public boolean hasDescription()

[Output Only] Description of this License Code.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

public boolean hasSelfLink()

[Output Only] URL of license corresponding to this License Code.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LicenseCodeLicenseAlias.Builder newBuilderForType()
Returns
Type Description
LicenseCodeLicenseAlias.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LicenseCodeLicenseAlias.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LicenseCodeLicenseAlias.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public LicenseCodeLicenseAlias.Builder toBuilder()
Returns
Type Description
LicenseCodeLicenseAlias.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException