Class VSphereScan.Builder (0.17.0)

public static final class VSphereScan.Builder extends GeneratedMessageV3.Builder<VSphereScan.Builder> implements VSphereScanOrBuilder

Message describing a MC Source of type VSphere Scan.

Protobuf type google.cloud.rapidmigrationassessment.v1.VSphereScan

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VSphereScan build()
Returns
TypeDescription
VSphereScan

buildPartial()

public VSphereScan buildPartial()
Returns
TypeDescription
VSphereScan

clear()

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

clearCoreSource()

public VSphereScan.Builder clearCoreSource()

reference to the corresponding VSphere Scan in MC Source.

string core_source = 1;

Returns
TypeDescription
VSphereScan.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCoreSource()

public String getCoreSource()

reference to the corresponding VSphere Scan in MC Source.

string core_source = 1;

Returns
TypeDescription
String

The coreSource.

getCoreSourceBytes()

public ByteString getCoreSourceBytes()

reference to the corresponding VSphere Scan in MC Source.

string core_source = 1;

Returns
TypeDescription
ByteString

The bytes for coreSource.

getDefaultInstanceForType()

public VSphereScan getDefaultInstanceForType()
Returns
TypeDescription
VSphereScan

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(VSphereScan other)

public VSphereScan.Builder mergeFrom(VSphereScan other)
Parameter
NameDescription
otherVSphereScan
Returns
TypeDescription
VSphereScan.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCoreSource(String value)

public VSphereScan.Builder setCoreSource(String value)

reference to the corresponding VSphere Scan in MC Source.

string core_source = 1;

Parameter
NameDescription
valueString

The coreSource to set.

Returns
TypeDescription
VSphereScan.Builder

This builder for chaining.

setCoreSourceBytes(ByteString value)

public VSphereScan.Builder setCoreSourceBytes(ByteString value)

reference to the corresponding VSphere Scan in MC Source.

string core_source = 1;

Parameter
NameDescription
valueByteString

The bytes for coreSource to set.

Returns
TypeDescription
VSphereScan.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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