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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigrationInsight.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public MigrationInsight.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearMigrationTarget()
public MigrationInsight.Builder clearMigrationTarget()
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationInsight.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MigrationInsight.Builder clone()
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];
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationInsight.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationInsight.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationInsight.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationInsight.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides