Class MigrationInsight.Builder (0.24.0)

public static final class MigrationInsight.Builder extends GeneratedMessageV3.Builder<MigrationInsight.Builder> implements MigrationInsightOrBuilder

An insight about potential migrations for an asset.

Protobuf type google.cloud.migrationcenter.v1.MigrationInsight

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigrationInsight build()
Returns
Type Description
MigrationInsight

buildPartial()

public MigrationInsight buildPartial()
Returns
Type Description
MigrationInsight

clear()

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

clearComputeEngineTarget()

public MigrationInsight.Builder clearComputeEngineTarget()

Output only. A Google Compute Engine target.

.google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget compute_engine_target = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigrationInsight.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFit()

public MigrationInsight.Builder clearFit()

Output only. Description of how well the asset this insight is associated with fits the proposed migration.

.google.cloud.migrationcenter.v1.FitDescriptor fit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigrationInsight.Builder

clearMigrationTarget()

public MigrationInsight.Builder clearMigrationTarget()
Returns
Type Description
MigrationInsight.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getComputeEngineTarget()

public ComputeEngineMigrationTarget getComputeEngineTarget()

Output only. A Google Compute Engine target.

.google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget compute_engine_target = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComputeEngineMigrationTarget

The computeEngineTarget.

getComputeEngineTargetBuilder()

public ComputeEngineMigrationTarget.Builder getComputeEngineTargetBuilder()

Output only. A Google Compute Engine target.

.google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget compute_engine_target = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComputeEngineMigrationTarget.Builder

getComputeEngineTargetOrBuilder()

public ComputeEngineMigrationTargetOrBuilder getComputeEngineTargetOrBuilder()

Output only. A Google Compute Engine target.

.google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget compute_engine_target = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComputeEngineMigrationTargetOrBuilder

getDefaultInstanceForType()

public MigrationInsight getDefaultInstanceForType()
Returns
Type Description
MigrationInsight

getDescriptorForType()

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

getFit()

public FitDescriptor getFit()

Output only. Description of how well the asset this insight is associated with fits the proposed migration.

.google.cloud.migrationcenter.v1.FitDescriptor fit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FitDescriptor

The fit.

getFitBuilder()

public FitDescriptor.Builder getFitBuilder()

Output only. Description of how well the asset this insight is associated with fits the proposed migration.

.google.cloud.migrationcenter.v1.FitDescriptor fit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FitDescriptor.Builder

getFitOrBuilder()

public FitDescriptorOrBuilder getFitOrBuilder()

Output only. Description of how well the asset this insight is associated with fits the proposed migration.

.google.cloud.migrationcenter.v1.FitDescriptor fit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FitDescriptorOrBuilder

getMigrationTargetCase()

public MigrationInsight.MigrationTargetCase getMigrationTargetCase()
Returns
Type Description
MigrationInsight.MigrationTargetCase

hasComputeEngineTarget()

public boolean hasComputeEngineTarget()

Output only. A Google Compute Engine target.

.google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget compute_engine_target = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the computeEngineTarget field is set.

hasFit()

public boolean hasFit()

Output only. Description of how well the asset this insight is associated with fits the proposed migration.

.google.cloud.migrationcenter.v1.FitDescriptor fit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the fit field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeComputeEngineTarget(ComputeEngineMigrationTarget value)

public MigrationInsight.Builder mergeComputeEngineTarget(ComputeEngineMigrationTarget value)

Output only. A Google Compute Engine target.

.google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget compute_engine_target = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ComputeEngineMigrationTarget
Returns
Type Description
MigrationInsight.Builder

mergeFit(FitDescriptor value)

public MigrationInsight.Builder mergeFit(FitDescriptor value)

Output only. Description of how well the asset this insight is associated with fits the proposed migration.

.google.cloud.migrationcenter.v1.FitDescriptor fit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FitDescriptor
Returns
Type Description
MigrationInsight.Builder

mergeFrom(MigrationInsight other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setComputeEngineTarget(ComputeEngineMigrationTarget value)

public MigrationInsight.Builder setComputeEngineTarget(ComputeEngineMigrationTarget value)

Output only. A Google Compute Engine target.

.google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget compute_engine_target = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ComputeEngineMigrationTarget
Returns
Type Description
MigrationInsight.Builder

setComputeEngineTarget(ComputeEngineMigrationTarget.Builder builderForValue)

public MigrationInsight.Builder setComputeEngineTarget(ComputeEngineMigrationTarget.Builder builderForValue)

Output only. A Google Compute Engine target.

.google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget compute_engine_target = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ComputeEngineMigrationTarget.Builder
Returns
Type Description
MigrationInsight.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFit(FitDescriptor value)

public MigrationInsight.Builder setFit(FitDescriptor value)

Output only. Description of how well the asset this insight is associated with fits the proposed migration.

.google.cloud.migrationcenter.v1.FitDescriptor fit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FitDescriptor
Returns
Type Description
MigrationInsight.Builder

setFit(FitDescriptor.Builder builderForValue)

public MigrationInsight.Builder setFit(FitDescriptor.Builder builderForValue)

Output only. Description of how well the asset this insight is associated with fits the proposed migration.

.google.cloud.migrationcenter.v1.FitDescriptor fit = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue FitDescriptor.Builder
Returns
Type Description
MigrationInsight.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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