Class GuestOsScan.Builder (0.3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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