Class LicenseCodeLicenseAlias (1.7.2)

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
TypeDescription
int
public static final int SELF_LINK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LicenseCodeLicenseAlias getDefaultInstance()
Returns
TypeDescription
LicenseCodeLicenseAlias

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LicenseCodeLicenseAlias.Builder newBuilder()
Returns
TypeDescription
LicenseCodeLicenseAlias.Builder

newBuilder(LicenseCodeLicenseAlias prototype)

public static LicenseCodeLicenseAlias.Builder newBuilder(LicenseCodeLicenseAlias prototype)
Parameter
NameDescription
prototypeLicenseCodeLicenseAlias
Returns
TypeDescription
LicenseCodeLicenseAlias.Builder

parseDelimitedFrom(InputStream input)

public static LicenseCodeLicenseAlias parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LicenseCodeLicenseAlias parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LicenseCodeLicenseAlias parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LicenseCodeLicenseAlias parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LicenseCodeLicenseAlias parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LicenseCodeLicenseAlias parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LicenseCodeLicenseAlias parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LicenseCodeLicenseAlias
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LicenseCodeLicenseAlias> parser()
Returns
TypeDescription
Parser<LicenseCodeLicenseAlias>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public LicenseCodeLicenseAlias getDefaultInstanceForType()
Returns
TypeDescription
LicenseCodeLicenseAlias

getDescription()

public String getDescription()

[Output Only] Description of this License Code.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

[Output Only] Description of this License Code.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getParserForType()

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

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

optional string self_link = 456214797;

Returns
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

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

optional string self_link = 456214797;

Returns
TypeDescription
ByteString

The bytes for selfLink.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasDescription()

public boolean hasDescription()

[Output Only] Description of this License Code.

optional string description = 422937596;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the selfLink field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LicenseCodeLicenseAlias.Builder newBuilderForType()
Returns
TypeDescription
LicenseCodeLicenseAlias.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LicenseCodeLicenseAlias.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LicenseCodeLicenseAlias.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LicenseCodeLicenseAlias.Builder toBuilder()
Returns
TypeDescription
LicenseCodeLicenseAlias.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException