Class GuestOsScan.Builder (0.37.0)

public static final class GuestOsScan.Builder extends GeneratedMessageV3.Builder<GuestOsScan.Builder> implements GuestOsScanOrBuilder

Message describing a MC Source of type Guest OS Scan.

Protobuf type google.cloud.rapidmigrationassessment.v1.GuestOsScan

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GuestOsScan build()
Returns
Type Description
GuestOsScan

buildPartial()

public GuestOsScan buildPartial()
Returns
Type Description
GuestOsScan

clear()

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

clearCoreSource()

public GuestOsScan.Builder clearCoreSource()

reference to the corresponding Guest OS Scan in MC Source.

string core_source = 1;

Returns
Type Description
GuestOsScan.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCoreSource()

public String getCoreSource()

reference to the corresponding Guest OS Scan in MC Source.

string core_source = 1;

Returns
Type Description
String

The coreSource.

getCoreSourceBytes()

public ByteString getCoreSourceBytes()

reference to the corresponding Guest OS Scan in MC Source.

string core_source = 1;

Returns
Type Description
ByteString

The bytes for coreSource.

getDefaultInstanceForType()

public GuestOsScan getDefaultInstanceForType()
Returns
Type Description
GuestOsScan

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GuestOsScan other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCoreSource(String value)

public GuestOsScan.Builder setCoreSource(String value)

reference to the corresponding Guest OS Scan in MC Source.

string core_source = 1;

Parameter
Name Description
value String

The coreSource to set.

Returns
Type Description
GuestOsScan.Builder

This builder for chaining.

setCoreSourceBytes(ByteString value)

public GuestOsScan.Builder setCoreSourceBytes(ByteString value)

reference to the corresponding Guest OS Scan in MC Source.

string core_source = 1;

Parameter
Name Description
value ByteString

The bytes for coreSource to set.

Returns
Type Description
GuestOsScan.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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