Class MigrationInsight.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MigrationInsight.Builder>
com.google.cloud.migrationcenter.v1.MigrationInsight.Builder
All Implemented Interfaces:
MigrationInsightOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MigrationInsight

public static final class MigrationInsight.Builder extends com.google.protobuf.GeneratedMessage.Builder<MigrationInsight.Builder> implements MigrationInsightOrBuilder
 An insight about potential migrations for an asset.
 
Protobuf type google.cloud.migrationcenter.v1.MigrationInsight
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<MigrationInsight.Builder>
    • clear

      public MigrationInsight.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<MigrationInsight.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<MigrationInsight.Builder>
    • getDefaultInstanceForType

      public MigrationInsight getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public MigrationInsight build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MigrationInsight buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MigrationInsight.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MigrationInsight.Builder>
    • mergeFrom

      public MigrationInsight.Builder mergeFrom(MigrationInsight other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<MigrationInsight.Builder>
    • mergeFrom

      public MigrationInsight.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MigrationInsight.Builder>
      Throws:
      IOException
    • getMigrationTargetCase

      public MigrationInsight.MigrationTargetCase getMigrationTargetCase()
      Specified by:
      getMigrationTargetCase in interface MigrationInsightOrBuilder
    • clearMigrationTarget

      public MigrationInsight.Builder clearMigrationTarget()
    • 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];
      Specified by:
      hasFit in interface MigrationInsightOrBuilder
      Returns:
      Whether the fit field is set.
    • 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];
      Specified by:
      getFit in interface MigrationInsightOrBuilder
      Returns:
      The fit.
    • setFit

      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

      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];
    • mergeFit

      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];
    • 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];
    • 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];
      Specified by:
      getFitOrBuilder in interface MigrationInsightOrBuilder
    • 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];
      Specified by:
      hasComputeEngineTarget in interface MigrationInsightOrBuilder
      Returns:
      Whether the computeEngineTarget field is set.
    • 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];
      Specified by:
      getComputeEngineTarget in interface MigrationInsightOrBuilder
      Returns:
      The computeEngineTarget.
    • setComputeEngineTarget

      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

      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];
    • mergeComputeEngineTarget

      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];
    • 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];
    • 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];
      Specified by:
      getComputeEngineTargetOrBuilder in interface MigrationInsightOrBuilder