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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public MigrationInsight build()
buildPartial()
public MigrationInsight buildPartial()
clear()
public MigrationInsight.Builder clear()
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];
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];
clearMigrationTarget()
public MigrationInsight.Builder clearMigrationTarget()
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];
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];
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];
getDefaultInstanceForType()
public MigrationInsight getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
getMigrationTargetCase()
public MigrationInsight.MigrationTargetCase getMigrationTargetCase()
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()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
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];
mergeFrom(MigrationInsight other)
public MigrationInsight.Builder mergeFrom(MigrationInsight other)
public MigrationInsight.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MigrationInsight.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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];
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];
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];
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];