Class MigrationInsight.Builder (0.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MigrationInsight build()
Returns
TypeDescription
MigrationInsight

buildPartial()

public MigrationInsight buildPartial()
Returns
TypeDescription
MigrationInsight

clear()

public MigrationInsight.Builder clear()
Returns
TypeDescription
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
TypeDescription
MigrationInsight.Builder

clearField(Descriptors.FieldDescriptor field)

public MigrationInsight.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
MigrationInsight.Builder

clearMigrationTarget()

public MigrationInsight.Builder clearMigrationTarget()
Returns
TypeDescription
MigrationInsight.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public MigrationInsight.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ComputeEngineMigrationTargetOrBuilder

getDefaultInstanceForType()

public MigrationInsight getDefaultInstanceForType()
Returns
TypeDescription
MigrationInsight

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FitDescriptorOrBuilder

getMigrationTargetCase()

public MigrationInsight.MigrationTargetCase getMigrationTargetCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the fit field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueComputeEngineMigrationTarget
Returns
TypeDescription
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
NameDescription
valueFitDescriptor
Returns
TypeDescription
MigrationInsight.Builder

mergeFrom(MigrationInsight other)

public MigrationInsight.Builder mergeFrom(MigrationInsight other)
Parameter
NameDescription
otherMigrationInsight
Returns
TypeDescription
MigrationInsight.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public MigrationInsight.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueFitDescriptor
Returns
TypeDescription
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
NameDescription
builderForValueFitDescriptor.Builder
Returns
TypeDescription
MigrationInsight.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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