Class ApplianceVersion (1.34.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
TypeDescription
int

RELEASE_NOTES_URI_FIELD_NUMBER

public static final int RELEASE_NOTES_URI_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ApplianceVersion getDefaultInstance()
Returns
TypeDescription
ApplianceVersion

getDescriptor()

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

newBuilder()

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

newBuilder(ApplianceVersion prototype)

public static ApplianceVersion.Builder newBuilder(ApplianceVersion prototype)
Parameter
NameDescription
prototypeApplianceVersion
Returns
TypeDescription
ApplianceVersion.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCritical()

public boolean getCritical()

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

bool critical = 3;

Returns
TypeDescription
boolean

The critical.

getDefaultInstanceForType()

public ApplianceVersion getDefaultInstanceForType()
Returns
TypeDescription
ApplianceVersion

getParserForType()

public Parser<ApplianceVersion> getParserForType()
Returns
TypeDescription
Parser<ApplianceVersion>
Overrides

getReleaseNotesUri()

public String getReleaseNotesUri()

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Returns
TypeDescription
String

The releaseNotesUri.

getReleaseNotesUriBytes()

public ByteString getReleaseNotesUriBytes()

Link to a page that contains the version release notes.

string release_notes_uri = 4;

Returns
TypeDescription
ByteString

The bytes for releaseNotesUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUri()

public String getUri()

A link for downloading the version.

string uri = 2;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

A link for downloading the version.

string uri = 2;

Returns
TypeDescription
ByteString

The bytes for uri.

getVersion()

public String getVersion()

The appliance version.

string version = 1;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The appliance version.

string version = 1;

Returns
TypeDescription
ByteString

The bytes for version.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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