Class ApplianceVersion (1.48.0)

public final class ApplianceVersion extends GeneratedMessageV3 implements ApplianceVersionOrBuilder

Describes an appliance version.

Protobuf type google.cloud.vmmigration.v1.ApplianceVersion

Static Fields

CRITICAL_FIELD_NUMBER

public static final int CRITICAL_FIELD_NUMBER
Field Value
Type Description
int

RELEASE_NOTES_URI_FIELD_NUMBER

public static final int RELEASE_NOTES_URI_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ApplianceVersion getDefaultInstance()
Returns
Type Description
ApplianceVersion

getDescriptor()

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

newBuilder()

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

newBuilder(ApplianceVersion prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCritical()

public boolean getCritical()

Determine whether it's critical to upgrade the appliance to this version.

bool critical = 3;

Returns
Type Description
boolean

The critical.

getDefaultInstanceForType()

public ApplianceVersion getDefaultInstanceForType()
Returns
Type Description
ApplianceVersion

getParserForType()

public Parser<ApplianceVersion> getParserForType()
Returns
Type Description
Parser<ApplianceVersion>
Overrides

getReleaseNotesUri()

public String getReleaseNotesUri()

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Returns
Type Description
String

The releaseNotesUri.

getReleaseNotesUriBytes()

public ByteString getReleaseNotesUriBytes()

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Returns
Type Description
ByteString

The bytes for releaseNotesUri.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUri()

public String getUri()

A link for downloading the version.

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

A link for downloading the version.

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.

getVersion()

public String getVersion()

The appliance version.

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The appliance version.

string version = 1;

Returns
Type Description
ByteString

The bytes for version.

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 ApplianceVersion.Builder newBuilderForType()
Returns
Type Description
ApplianceVersion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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