Class GuestConfigDetails.Builder (0.4.0)

public static final class GuestConfigDetails.Builder extends GeneratedMessageV3.Builder<GuestConfigDetails.Builder> implements GuestConfigDetailsOrBuilder

Guest OS config information.

Protobuf type google.cloud.migrationcenter.v1.GuestConfigDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GuestConfigDetails build()
Returns
TypeDescription
GuestConfigDetails

buildPartial()

public GuestConfigDetails buildPartial()
Returns
TypeDescription
GuestConfigDetails

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFstab()

public GuestConfigDetails.Builder clearFstab()

Mount list (Linux fstab).

.google.cloud.migrationcenter.v1.FstabEntryList fstab = 2;

Returns
TypeDescription
GuestConfigDetails.Builder

clearHosts()

public GuestConfigDetails.Builder clearHosts()

Hosts file (/etc/hosts).

.google.cloud.migrationcenter.v1.HostsEntryList hosts = 3;

Returns
TypeDescription
GuestConfigDetails.Builder

clearIssue()

public GuestConfigDetails.Builder clearIssue()

OS issue (typically /etc/issue in Linux).

string issue = 1;

Returns
TypeDescription
GuestConfigDetails.Builder

This builder for chaining.

clearNfsExports()

public GuestConfigDetails.Builder clearNfsExports()

NFS exports.

.google.cloud.migrationcenter.v1.NfsExportList nfs_exports = 4;

Returns
TypeDescription
GuestConfigDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSelinuxMode()

public GuestConfigDetails.Builder clearSelinuxMode()

Security-Enhanced Linux (SELinux) mode.

.google.cloud.migrationcenter.v1.GuestConfigDetails.SeLinuxMode selinux_mode = 5;

Returns
TypeDescription
GuestConfigDetails.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GuestConfigDetails getDefaultInstanceForType()
Returns
TypeDescription
GuestConfigDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFstab()

public FstabEntryList getFstab()

Mount list (Linux fstab).

.google.cloud.migrationcenter.v1.FstabEntryList fstab = 2;

Returns
TypeDescription
FstabEntryList

The fstab.

getFstabBuilder()

public FstabEntryList.Builder getFstabBuilder()

Mount list (Linux fstab).

.google.cloud.migrationcenter.v1.FstabEntryList fstab = 2;

Returns
TypeDescription
FstabEntryList.Builder

getFstabOrBuilder()

public FstabEntryListOrBuilder getFstabOrBuilder()

Mount list (Linux fstab).

.google.cloud.migrationcenter.v1.FstabEntryList fstab = 2;

Returns
TypeDescription
FstabEntryListOrBuilder

getHosts()

public HostsEntryList getHosts()

Hosts file (/etc/hosts).

.google.cloud.migrationcenter.v1.HostsEntryList hosts = 3;

Returns
TypeDescription
HostsEntryList

The hosts.

getHostsBuilder()

public HostsEntryList.Builder getHostsBuilder()

Hosts file (/etc/hosts).

.google.cloud.migrationcenter.v1.HostsEntryList hosts = 3;

Returns
TypeDescription
HostsEntryList.Builder

getHostsOrBuilder()

public HostsEntryListOrBuilder getHostsOrBuilder()

Hosts file (/etc/hosts).

.google.cloud.migrationcenter.v1.HostsEntryList hosts = 3;

Returns
TypeDescription
HostsEntryListOrBuilder

getIssue()

public String getIssue()

OS issue (typically /etc/issue in Linux).

string issue = 1;

Returns
TypeDescription
String

The issue.

getIssueBytes()

public ByteString getIssueBytes()

OS issue (typically /etc/issue in Linux).

string issue = 1;

Returns
TypeDescription
ByteString

The bytes for issue.

getNfsExports()

public NfsExportList getNfsExports()

NFS exports.

.google.cloud.migrationcenter.v1.NfsExportList nfs_exports = 4;

Returns
TypeDescription
NfsExportList

The nfsExports.

getNfsExportsBuilder()

public NfsExportList.Builder getNfsExportsBuilder()

NFS exports.

.google.cloud.migrationcenter.v1.NfsExportList nfs_exports = 4;

Returns
TypeDescription
NfsExportList.Builder

getNfsExportsOrBuilder()

public NfsExportListOrBuilder getNfsExportsOrBuilder()

NFS exports.

.google.cloud.migrationcenter.v1.NfsExportList nfs_exports = 4;

Returns
TypeDescription
NfsExportListOrBuilder

getSelinuxMode()

public GuestConfigDetails.SeLinuxMode getSelinuxMode()

Security-Enhanced Linux (SELinux) mode.

.google.cloud.migrationcenter.v1.GuestConfigDetails.SeLinuxMode selinux_mode = 5;

Returns
TypeDescription
GuestConfigDetails.SeLinuxMode

The selinuxMode.

getSelinuxModeValue()

public int getSelinuxModeValue()

Security-Enhanced Linux (SELinux) mode.

.google.cloud.migrationcenter.v1.GuestConfigDetails.SeLinuxMode selinux_mode = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for selinuxMode.

hasFstab()

public boolean hasFstab()

Mount list (Linux fstab).

.google.cloud.migrationcenter.v1.FstabEntryList fstab = 2;

Returns
TypeDescription
boolean

Whether the fstab field is set.

hasHosts()

public boolean hasHosts()

Hosts file (/etc/hosts).

.google.cloud.migrationcenter.v1.HostsEntryList hosts = 3;

Returns
TypeDescription
boolean

Whether the hosts field is set.

hasNfsExports()

public boolean hasNfsExports()

NFS exports.

.google.cloud.migrationcenter.v1.NfsExportList nfs_exports = 4;

Returns
TypeDescription
boolean

Whether the nfsExports field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GuestConfigDetails other)

public GuestConfigDetails.Builder mergeFrom(GuestConfigDetails other)
Parameter
NameDescription
otherGuestConfigDetails
Returns
TypeDescription
GuestConfigDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFstab(FstabEntryList value)

public GuestConfigDetails.Builder mergeFstab(FstabEntryList value)

Mount list (Linux fstab).

.google.cloud.migrationcenter.v1.FstabEntryList fstab = 2;

Parameter
NameDescription
valueFstabEntryList
Returns
TypeDescription
GuestConfigDetails.Builder

mergeHosts(HostsEntryList value)

public GuestConfigDetails.Builder mergeHosts(HostsEntryList value)

Hosts file (/etc/hosts).

.google.cloud.migrationcenter.v1.HostsEntryList hosts = 3;

Parameter
NameDescription
valueHostsEntryList
Returns
TypeDescription
GuestConfigDetails.Builder

mergeNfsExports(NfsExportList value)

public GuestConfigDetails.Builder mergeNfsExports(NfsExportList value)

NFS exports.

.google.cloud.migrationcenter.v1.NfsExportList nfs_exports = 4;

Parameter
NameDescription
valueNfsExportList
Returns
TypeDescription
GuestConfigDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFstab(FstabEntryList value)

public GuestConfigDetails.Builder setFstab(FstabEntryList value)

Mount list (Linux fstab).

.google.cloud.migrationcenter.v1.FstabEntryList fstab = 2;

Parameter
NameDescription
valueFstabEntryList
Returns
TypeDescription
GuestConfigDetails.Builder

setFstab(FstabEntryList.Builder builderForValue)

public GuestConfigDetails.Builder setFstab(FstabEntryList.Builder builderForValue)

Mount list (Linux fstab).

.google.cloud.migrationcenter.v1.FstabEntryList fstab = 2;

Parameter
NameDescription
builderForValueFstabEntryList.Builder
Returns
TypeDescription
GuestConfigDetails.Builder

setHosts(HostsEntryList value)

public GuestConfigDetails.Builder setHosts(HostsEntryList value)

Hosts file (/etc/hosts).

.google.cloud.migrationcenter.v1.HostsEntryList hosts = 3;

Parameter
NameDescription
valueHostsEntryList
Returns
TypeDescription
GuestConfigDetails.Builder

setHosts(HostsEntryList.Builder builderForValue)

public GuestConfigDetails.Builder setHosts(HostsEntryList.Builder builderForValue)

Hosts file (/etc/hosts).

.google.cloud.migrationcenter.v1.HostsEntryList hosts = 3;

Parameter
NameDescription
builderForValueHostsEntryList.Builder
Returns
TypeDescription
GuestConfigDetails.Builder

setIssue(String value)

public GuestConfigDetails.Builder setIssue(String value)

OS issue (typically /etc/issue in Linux).

string issue = 1;

Parameter
NameDescription
valueString

The issue to set.

Returns
TypeDescription
GuestConfigDetails.Builder

This builder for chaining.

setIssueBytes(ByteString value)

public GuestConfigDetails.Builder setIssueBytes(ByteString value)

OS issue (typically /etc/issue in Linux).

string issue = 1;

Parameter
NameDescription
valueByteString

The bytes for issue to set.

Returns
TypeDescription
GuestConfigDetails.Builder

This builder for chaining.

setNfsExports(NfsExportList value)

public GuestConfigDetails.Builder setNfsExports(NfsExportList value)

NFS exports.

.google.cloud.migrationcenter.v1.NfsExportList nfs_exports = 4;

Parameter
NameDescription
valueNfsExportList
Returns
TypeDescription
GuestConfigDetails.Builder

setNfsExports(NfsExportList.Builder builderForValue)

public GuestConfigDetails.Builder setNfsExports(NfsExportList.Builder builderForValue)

NFS exports.

.google.cloud.migrationcenter.v1.NfsExportList nfs_exports = 4;

Parameter
NameDescription
builderForValueNfsExportList.Builder
Returns
TypeDescription
GuestConfigDetails.Builder

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

public GuestConfigDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GuestConfigDetails.Builder
Overrides

setSelinuxMode(GuestConfigDetails.SeLinuxMode value)

public GuestConfigDetails.Builder setSelinuxMode(GuestConfigDetails.SeLinuxMode value)

Security-Enhanced Linux (SELinux) mode.

.google.cloud.migrationcenter.v1.GuestConfigDetails.SeLinuxMode selinux_mode = 5;

Parameter
NameDescription
valueGuestConfigDetails.SeLinuxMode

The selinuxMode to set.

Returns
TypeDescription
GuestConfigDetails.Builder

This builder for chaining.

setSelinuxModeValue(int value)

public GuestConfigDetails.Builder setSelinuxModeValue(int value)

Security-Enhanced Linux (SELinux) mode.

.google.cloud.migrationcenter.v1.GuestConfigDetails.SeLinuxMode selinux_mode = 5;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
GuestConfigDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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