Class GuestOsDetails (0.26.0)

public final class GuestOsDetails extends GeneratedMessageV3 implements GuestOsDetailsOrBuilder

Information from Guest-level collections.

Protobuf type google.cloud.migrationcenter.v1.GuestOsDetails

Static Fields

CONFIG_FIELD_NUMBER

public static final int CONFIG_FIELD_NUMBER
Field Value
Type Description
int

FAMILY_FIELD_NUMBER

public static final int FAMILY_FIELD_NUMBER
Field Value
Type Description
int

OS_NAME_FIELD_NUMBER

public static final int OS_NAME_FIELD_NUMBER
Field Value
Type Description
int

RUNTIME_FIELD_NUMBER

public static final int RUNTIME_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 GuestOsDetails getDefaultInstance()
Returns
Type Description
GuestOsDetails

getDescriptor()

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

newBuilder()

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

newBuilder(GuestOsDetails prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfig()

public GuestConfigDetails getConfig()

OS and app configuration.

.google.cloud.migrationcenter.v1.GuestConfigDetails config = 4;

Returns
Type Description
GuestConfigDetails

The config.

getConfigOrBuilder()

public GuestConfigDetailsOrBuilder getConfigOrBuilder()

OS and app configuration.

.google.cloud.migrationcenter.v1.GuestConfigDetails config = 4;

Returns
Type Description
GuestConfigDetailsOrBuilder

getDefaultInstanceForType()

public GuestOsDetails getDefaultInstanceForType()
Returns
Type Description
GuestOsDetails

getFamily()

public OperatingSystemFamily getFamily()

What family the OS belong to, if known.

.google.cloud.migrationcenter.v1.OperatingSystemFamily family = 2;

Returns
Type Description
OperatingSystemFamily

The family.

getFamilyValue()

public int getFamilyValue()

What family the OS belong to, if known.

.google.cloud.migrationcenter.v1.OperatingSystemFamily family = 2;

Returns
Type Description
int

The enum numeric value on the wire for family.

getOsName()

public String getOsName()

The name of the operating system.

string os_name = 1;

Returns
Type Description
String

The osName.

getOsNameBytes()

public ByteString getOsNameBytes()

The name of the operating system.

string os_name = 1;

Returns
Type Description
ByteString

The bytes for osName.

getParserForType()

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

getRuntime()

public GuestRuntimeDetails getRuntime()

Runtime information.

.google.cloud.migrationcenter.v1.GuestRuntimeDetails runtime = 5;

Returns
Type Description
GuestRuntimeDetails

The runtime.

getRuntimeOrBuilder()

public GuestRuntimeDetailsOrBuilder getRuntimeOrBuilder()

Runtime information.

.google.cloud.migrationcenter.v1.GuestRuntimeDetails runtime = 5;

Returns
Type Description
GuestRuntimeDetailsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersion()

public String getVersion()

The version of the operating system.

string version = 3;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The version of the operating system.

string version = 3;

Returns
Type Description
ByteString

The bytes for version.

hasConfig()

public boolean hasConfig()

OS and app configuration.

.google.cloud.migrationcenter.v1.GuestConfigDetails config = 4;

Returns
Type Description
boolean

Whether the config field is set.

hasRuntime()

public boolean hasRuntime()

Runtime information.

.google.cloud.migrationcenter.v1.GuestRuntimeDetails runtime = 5;

Returns
Type Description
boolean

Whether the runtime 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 GuestOsDetails.Builder newBuilderForType()
Returns
Type Description
GuestOsDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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