Class GuestConfigDetails.Builder (0.28.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GuestConfigDetails build()
Returns
Type Description
GuestConfigDetails

buildPartial()

public GuestConfigDetails buildPartial()
Returns
Type Description
GuestConfigDetails

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFstab()

public GuestConfigDetails.Builder clearFstab()

Mount list (Linux fstab).

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

Returns
Type Description
GuestConfigDetails.Builder

clearHosts()

public GuestConfigDetails.Builder clearHosts()

Hosts file (/etc/hosts).

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

Returns
Type Description
GuestConfigDetails.Builder

clearIssue()

public GuestConfigDetails.Builder clearIssue()

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

string issue = 1;

Returns
Type Description
GuestConfigDetails.Builder

This builder for chaining.

clearNfsExports()

public GuestConfigDetails.Builder clearNfsExports()

NFS exports.

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

Returns
Type Description
GuestConfigDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSelinuxMode()

public GuestConfigDetails.Builder clearSelinuxMode()

Security-Enhanced Linux (SELinux) mode.

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

Returns
Type Description
GuestConfigDetails.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GuestConfigDetails getDefaultInstanceForType()
Returns
Type Description
GuestConfigDetails

getDescriptorForType()

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

getFstab()

public FstabEntryList getFstab()

Mount list (Linux fstab).

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

Returns
Type Description
FstabEntryList

The fstab.

getFstabBuilder()

public FstabEntryList.Builder getFstabBuilder()

Mount list (Linux fstab).

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

Returns
Type Description
FstabEntryList.Builder

getFstabOrBuilder()

public FstabEntryListOrBuilder getFstabOrBuilder()

Mount list (Linux fstab).

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

Returns
Type Description
FstabEntryListOrBuilder

getHosts()

public HostsEntryList getHosts()

Hosts file (/etc/hosts).

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

Returns
Type Description
HostsEntryList

The hosts.

getHostsBuilder()

public HostsEntryList.Builder getHostsBuilder()

Hosts file (/etc/hosts).

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

Returns
Type Description
HostsEntryList.Builder

getHostsOrBuilder()

public HostsEntryListOrBuilder getHostsOrBuilder()

Hosts file (/etc/hosts).

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

Returns
Type Description
HostsEntryListOrBuilder

getIssue()

public String getIssue()

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

string issue = 1;

Returns
Type Description
String

The issue.

getIssueBytes()

public ByteString getIssueBytes()

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

string issue = 1;

Returns
Type Description
ByteString

The bytes for issue.

getNfsExports()

public NfsExportList getNfsExports()

NFS exports.

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

Returns
Type Description
NfsExportList

The nfsExports.

getNfsExportsBuilder()

public NfsExportList.Builder getNfsExportsBuilder()

NFS exports.

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

Returns
Type Description
NfsExportList.Builder

getNfsExportsOrBuilder()

public NfsExportListOrBuilder getNfsExportsOrBuilder()

NFS exports.

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

Returns
Type Description
NfsExportListOrBuilder

getSelinuxMode()

public GuestConfigDetails.SeLinuxMode getSelinuxMode()

Security-Enhanced Linux (SELinux) mode.

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

Returns
Type Description
GuestConfigDetails.SeLinuxMode

The selinuxMode.

getSelinuxModeValue()

public int getSelinuxModeValue()

Security-Enhanced Linux (SELinux) mode.

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

Returns
Type Description
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
Type Description
boolean

Whether the fstab field is set.

hasHosts()

public boolean hasHosts()

Hosts file (/etc/hosts).

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

Returns
Type Description
boolean

Whether the hosts field is set.

hasNfsExports()

public boolean hasNfsExports()

NFS exports.

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

Returns
Type Description
boolean

Whether the nfsExports field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GuestConfigDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFstab(FstabEntryList value)

public GuestConfigDetails.Builder mergeFstab(FstabEntryList value)

Mount list (Linux fstab).

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

Parameter
Name Description
value FstabEntryList
Returns
Type Description
GuestConfigDetails.Builder

mergeHosts(HostsEntryList value)

public GuestConfigDetails.Builder mergeHosts(HostsEntryList value)

Hosts file (/etc/hosts).

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

Parameter
Name Description
value HostsEntryList
Returns
Type Description
GuestConfigDetails.Builder

mergeNfsExports(NfsExportList value)

public GuestConfigDetails.Builder mergeNfsExports(NfsExportList value)

NFS exports.

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

Parameter
Name Description
value NfsExportList
Returns
Type Description
GuestConfigDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFstab(FstabEntryList value)

public GuestConfigDetails.Builder setFstab(FstabEntryList value)

Mount list (Linux fstab).

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

Parameter
Name Description
value FstabEntryList
Returns
Type Description
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
Name Description
builderForValue FstabEntryList.Builder
Returns
Type Description
GuestConfigDetails.Builder

setHosts(HostsEntryList value)

public GuestConfigDetails.Builder setHosts(HostsEntryList value)

Hosts file (/etc/hosts).

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

Parameter
Name Description
value HostsEntryList
Returns
Type Description
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
Name Description
builderForValue HostsEntryList.Builder
Returns
Type Description
GuestConfigDetails.Builder

setIssue(String value)

public GuestConfigDetails.Builder setIssue(String value)

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

string issue = 1;

Parameter
Name Description
value String

The issue to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for issue to set.

Returns
Type Description
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
Name Description
value NfsExportList
Returns
Type Description
GuestConfigDetails.Builder

setNfsExports(NfsExportList.Builder builderForValue)

public GuestConfigDetails.Builder setNfsExports(NfsExportList.Builder builderForValue)

NFS exports.

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

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

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

public GuestConfigDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value GuestConfigDetails.SeLinuxMode

The selinuxMode to set.

Returns
Type Description
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
Name Description
value int

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

Returns
Type Description
GuestConfigDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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