Class GuestOsDetails.Builder (0.17.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GuestOsDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GuestOsDetails.Builder
Overrides

build()

public GuestOsDetails build()
Returns
TypeDescription
GuestOsDetails

buildPartial()

public GuestOsDetails buildPartial()
Returns
TypeDescription
GuestOsDetails

clear()

public GuestOsDetails.Builder clear()
Returns
TypeDescription
GuestOsDetails.Builder
Overrides

clearConfig()

public GuestOsDetails.Builder clearConfig()

OS and app configuration.

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

Returns
TypeDescription
GuestOsDetails.Builder

clearFamily()

public GuestOsDetails.Builder clearFamily()

What family the OS belong to, if known.

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

Returns
TypeDescription
GuestOsDetails.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GuestOsDetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GuestOsDetails.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestOsDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GuestOsDetails.Builder
Overrides

clearOsName()

public GuestOsDetails.Builder clearOsName()

The name of the operating system.

string os_name = 1;

Returns
TypeDescription
GuestOsDetails.Builder

This builder for chaining.

clearRuntime()

public GuestOsDetails.Builder clearRuntime()

Runtime information.

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

Returns
TypeDescription
GuestOsDetails.Builder

clearVersion()

public GuestOsDetails.Builder clearVersion()

The version of the operating system.

string version = 3;

Returns
TypeDescription
GuestOsDetails.Builder

This builder for chaining.

clone()

public GuestOsDetails.Builder clone()
Returns
TypeDescription
GuestOsDetails.Builder
Overrides

getConfig()

public GuestConfigDetails getConfig()

OS and app configuration.

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

Returns
TypeDescription
GuestConfigDetails

The config.

getConfigBuilder()

public GuestConfigDetails.Builder getConfigBuilder()

OS and app configuration.

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

Returns
TypeDescription
GuestConfigDetails.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getRuntime()

public GuestRuntimeDetails getRuntime()

Runtime information.

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

Returns
TypeDescription
GuestRuntimeDetails

The runtime.

getRuntimeBuilder()

public GuestRuntimeDetails.Builder getRuntimeBuilder()

Runtime information.

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

Returns
TypeDescription
GuestRuntimeDetails.Builder

getRuntimeOrBuilder()

public GuestRuntimeDetailsOrBuilder getRuntimeOrBuilder()

Runtime information.

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

Returns
TypeDescription
GuestRuntimeDetailsOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeConfig(GuestConfigDetails value)

public GuestOsDetails.Builder mergeConfig(GuestConfigDetails value)

OS and app configuration.

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

Parameter
NameDescription
valueGuestConfigDetails
Returns
TypeDescription
GuestOsDetails.Builder

mergeFrom(GuestOsDetails other)

public GuestOsDetails.Builder mergeFrom(GuestOsDetails other)
Parameter
NameDescription
otherGuestOsDetails
Returns
TypeDescription
GuestOsDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GuestOsDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestOsDetails.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GuestOsDetails.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GuestOsDetails.Builder
Overrides

mergeRuntime(GuestRuntimeDetails value)

public GuestOsDetails.Builder mergeRuntime(GuestRuntimeDetails value)

Runtime information.

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

Parameter
NameDescription
valueGuestRuntimeDetails
Returns
TypeDescription
GuestOsDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GuestOsDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GuestOsDetails.Builder
Overrides

setConfig(GuestConfigDetails value)

public GuestOsDetails.Builder setConfig(GuestConfigDetails value)

OS and app configuration.

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

Parameter
NameDescription
valueGuestConfigDetails
Returns
TypeDescription
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
NameDescription
builderForValueGuestConfigDetails.Builder
Returns
TypeDescription
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
NameDescription
valueOperatingSystemFamily

The family to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
GuestOsDetails.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GuestOsDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GuestOsDetails.Builder
Overrides

setOsName(String value)

public GuestOsDetails.Builder setOsName(String value)

The name of the operating system.

string os_name = 1;

Parameter
NameDescription
valueString

The osName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for osName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GuestOsDetails.Builder
Overrides

setRuntime(GuestRuntimeDetails value)

public GuestOsDetails.Builder setRuntime(GuestRuntimeDetails value)

Runtime information.

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

Parameter
NameDescription
valueGuestRuntimeDetails
Returns
TypeDescription
GuestOsDetails.Builder

setRuntime(GuestRuntimeDetails.Builder builderForValue)

public GuestOsDetails.Builder setRuntime(GuestRuntimeDetails.Builder builderForValue)

Runtime information.

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

Parameter
NameDescription
builderForValueGuestRuntimeDetails.Builder
Returns
TypeDescription
GuestOsDetails.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GuestOsDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GuestOsDetails.Builder
Overrides

setVersion(String value)

public GuestOsDetails.Builder setVersion(String value)

The version of the operating system.

string version = 3;

Parameter
NameDescription
valueString

The version to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for version to set.

Returns
TypeDescription
GuestOsDetails.Builder

This builder for chaining.