Class 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.GeneratedMessageV3.Builder<MigrationInsight.Builder>
    implements MigrationInsightOrBuilder
     An insight about potential migrations for an asset.
     
    Protobuf type google.cloud.migrationcenter.v1.MigrationInsight
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public MigrationInsight.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationInsight.Builder>
      • setField

        public MigrationInsight.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationInsight.Builder>
      • clearField

        public MigrationInsight.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationInsight.Builder>
      • clearOneof

        public MigrationInsight.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationInsight.Builder>
      • setRepeatedField

        public MigrationInsight.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         int index,
                                                         Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationInsight.Builder>
      • addRepeatedField

        public MigrationInsight.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                         Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationInsight.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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];
      • setUnknownFields

        public final MigrationInsight.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationInsight.Builder>
      • mergeUnknownFields

        public final MigrationInsight.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MigrationInsight.Builder>