Class GuestOsDetails (0.21.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
TypeDescription
int

FAMILY_FIELD_NUMBER

public static final int FAMILY_FIELD_NUMBER
Field Value
TypeDescription
int

OS_NAME_FIELD_NUMBER

public static final int OS_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RUNTIME_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(GuestOsDetails prototype)

public static GuestOsDetails.Builder newBuilder(GuestOsDetails prototype)
Parameter
NameDescription
prototypeGuestOsDetails
Returns
TypeDescription
GuestOsDetails.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConfig()

public GuestConfigDetails getConfig()

OS and app configuration.

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

Returns
TypeDescription
GuestConfigDetails

The config.

getConfigOrBuilder()

public GuestConfigDetailsOrBuilder getConfigOrBuilder()

OS and app configuration.

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

Returns
TypeDescription
GuestConfigDetailsOrBuilder

getDefaultInstanceForType()

public GuestOsDetails getDefaultInstanceForType()
Returns
TypeDescription
GuestOsDetails

getFamily()

public OperatingSystemFamily getFamily()

What family the OS belong to, if known.

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

Returns
TypeDescription
OperatingSystemFamily

The family.

getFamilyValue()

public int getFamilyValue()

What family the OS belong to, if known.

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

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

The osName.

getOsNameBytes()

public ByteString getOsNameBytes()

The name of the operating system.

string os_name = 1;

Returns
TypeDescription
ByteString

The bytes for osName.

getParserForType()

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

getRuntime()

public GuestRuntimeDetails getRuntime()

Runtime information.

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

Returns
TypeDescription
GuestRuntimeDetails

The runtime.

getRuntimeOrBuilder()

public GuestRuntimeDetailsOrBuilder getRuntimeOrBuilder()

Runtime information.

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

Returns
TypeDescription
GuestRuntimeDetailsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVersion()

public String getVersion()

The version of the operating system.

string version = 3;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The version of the operating system.

string version = 3;

Returns
TypeDescription
ByteString

The bytes for version.

hasConfig()

public boolean hasConfig()

OS and app configuration.

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

Returns
TypeDescription
boolean

Whether the config field is set.

hasRuntime()

public boolean hasRuntime()

Runtime information.

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

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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