Class MigrationInsight.Builder (0.65.0)

public static final class MigrationInsight.Builder extends GeneratedMessage.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

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

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

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 GeneratedMessage.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

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

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