Class GuestOsScan.Builder (0.1.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
TypeDescription
Descriptor

Methods

build()

public GuestOsScan build()
Returns
TypeDescription
GuestOsScan

buildPartial()

public GuestOsScan buildPartial()
Returns
TypeDescription
GuestOsScan

clear()

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

clearCoreSource()

public GuestOsScan.Builder clearCoreSource()

reference to the corresponding Guest OS Scan in MC Source.

string core_source = 1;

Returns
TypeDescription
GuestOsScan.Builder

This builder for chaining.

getCoreSource()

public String getCoreSource()

reference to the corresponding Guest OS Scan in MC Source.

string core_source = 1;

Returns
TypeDescription
String

The coreSource.

getCoreSourceBytes()

public ByteString getCoreSourceBytes()

reference to the corresponding Guest OS Scan in MC Source.

string core_source = 1;

Returns
TypeDescription
ByteString

The bytes for coreSource.

getDefaultInstanceForType()

public GuestOsScan getDefaultInstanceForType()
Returns
TypeDescription
GuestOsScan

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GuestOsScan other)

public GuestOsScan.Builder mergeFrom(GuestOsScan other)
Parameter
NameDescription
otherGuestOsScan
Returns
TypeDescription
GuestOsScan.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GuestOsScan.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The coreSource to set.

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

The bytes for coreSource to set.

Returns
TypeDescription
GuestOsScan.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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