Class GuestOsDetails.Builder (0.37.0)

public static final class GuestOsDetails.Builder extends GeneratedMessageV3.Builder<GuestOsDetails.Builder> implements GuestOsDetailsOrBuilder

Information from Guest-level collections.

Protobuf type google.cloud.migrationcenter.v1.GuestOsDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GuestOsDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GuestOsDetails.Builder
Overrides

build()

public GuestOsDetails build()
Returns
Type Description
GuestOsDetails

buildPartial()

public GuestOsDetails buildPartial()
Returns
Type Description
GuestOsDetails

clear()

public GuestOsDetails.Builder clear()
Returns
Type Description
GuestOsDetails.Builder
Overrides

clearConfig()

public GuestOsDetails.Builder clearConfig()

OS and app configuration.

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

Returns
Type Description
GuestOsDetails.Builder

clearFamily()

public GuestOsDetails.Builder clearFamily()

What family the OS belong to, if known.

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

Returns
Type Description
GuestOsDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GuestOsDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GuestOsDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestOsDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GuestOsDetails.Builder
Overrides

clearOsName()

public GuestOsDetails.Builder clearOsName()

The name of the operating system.

string os_name = 1;

Returns
Type Description
GuestOsDetails.Builder

This builder for chaining.

clearRuntime()

public GuestOsDetails.Builder clearRuntime()

Runtime information.

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

Returns
Type Description
GuestOsDetails.Builder

clearVersion()

public GuestOsDetails.Builder clearVersion()

The version of the operating system.

string version = 3;

Returns
Type Description
GuestOsDetails.Builder

This builder for chaining.

clone()

public GuestOsDetails.Builder clone()
Returns
Type Description
GuestOsDetails.Builder
Overrides

getConfig()

public GuestConfigDetails getConfig()

OS and app configuration.

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

Returns
Type Description
GuestConfigDetails

The config.

getConfigBuilder()

public GuestConfigDetails.Builder getConfigBuilder()

OS and app configuration.

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

Returns
Type Description
GuestConfigDetails.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getRuntime()

public GuestRuntimeDetails getRuntime()

Runtime information.

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

Returns
Type Description
GuestRuntimeDetails

The runtime.

getRuntimeBuilder()

public GuestRuntimeDetails.Builder getRuntimeBuilder()

Runtime information.

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

Returns
Type Description
GuestRuntimeDetails.Builder

getRuntimeOrBuilder()

public GuestRuntimeDetailsOrBuilder getRuntimeOrBuilder()

Runtime information.

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

Returns
Type Description
GuestRuntimeDetailsOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConfig(GuestConfigDetails value)

public GuestOsDetails.Builder mergeConfig(GuestConfigDetails value)

OS and app configuration.

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

Parameter
Name Description
value GuestConfigDetails
Returns
Type Description
GuestOsDetails.Builder

mergeFrom(GuestOsDetails other)

public GuestOsDetails.Builder mergeFrom(GuestOsDetails other)
Parameter
Name Description
other GuestOsDetails
Returns
Type Description
GuestOsDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GuestOsDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestOsDetails.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GuestOsDetails.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GuestOsDetails.Builder
Overrides

mergeRuntime(GuestRuntimeDetails value)

public GuestOsDetails.Builder mergeRuntime(GuestRuntimeDetails value)

Runtime information.

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

Parameter
Name Description
value GuestRuntimeDetails
Returns
Type Description
GuestOsDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GuestOsDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GuestOsDetails.Builder
Overrides

setConfig(GuestConfigDetails value)

public GuestOsDetails.Builder setConfig(GuestConfigDetails value)

OS and app configuration.

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

Parameter
Name Description
value GuestConfigDetails
Returns
Type Description
GuestOsDetails.Builder

setConfig(GuestConfigDetails.Builder builderForValue)

public GuestOsDetails.Builder setConfig(GuestConfigDetails.Builder builderForValue)

OS and app configuration.

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

Parameter
Name Description
builderForValue GuestConfigDetails.Builder
Returns
Type Description
GuestOsDetails.Builder

setFamily(OperatingSystemFamily value)

public GuestOsDetails.Builder setFamily(OperatingSystemFamily value)

What family the OS belong to, if known.

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

Parameter
Name Description
value OperatingSystemFamily

The family to set.

Returns
Type Description
GuestOsDetails.Builder

This builder for chaining.

setFamilyValue(int value)

public GuestOsDetails.Builder setFamilyValue(int value)

What family the OS belong to, if known.

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

Parameter
Name Description
value int

The enum numeric value on the wire for family to set.

Returns
Type Description
GuestOsDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GuestOsDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GuestOsDetails.Builder
Overrides

setOsName(String value)

public GuestOsDetails.Builder setOsName(String value)

The name of the operating system.

string os_name = 1;

Parameter
Name Description
value String

The osName to set.

Returns
Type Description
GuestOsDetails.Builder

This builder for chaining.

setOsNameBytes(ByteString value)

public GuestOsDetails.Builder setOsNameBytes(ByteString value)

The name of the operating system.

string os_name = 1;

Parameter
Name Description
value ByteString

The bytes for osName to set.

Returns
Type Description
GuestOsDetails.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GuestOsDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GuestOsDetails.Builder
Overrides

setRuntime(GuestRuntimeDetails value)

public GuestOsDetails.Builder setRuntime(GuestRuntimeDetails value)

Runtime information.

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

Parameter
Name Description
value GuestRuntimeDetails
Returns
Type Description
GuestOsDetails.Builder

setRuntime(GuestRuntimeDetails.Builder builderForValue)

public GuestOsDetails.Builder setRuntime(GuestRuntimeDetails.Builder builderForValue)

Runtime information.

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

Parameter
Name Description
builderForValue GuestRuntimeDetails.Builder
Returns
Type Description
GuestOsDetails.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GuestOsDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GuestOsDetails.Builder
Overrides

setVersion(String value)

public GuestOsDetails.Builder setVersion(String value)

The version of the operating system.

string version = 3;

Parameter
Name Description
value String

The version to set.

Returns
Type Description
GuestOsDetails.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public GuestOsDetails.Builder setVersionBytes(ByteString value)

The version of the operating system.

string version = 3;

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
GuestOsDetails.Builder

This builder for chaining.