Class MigrationInsight

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.migrationcenter.v1.MigrationInsight
All Implemented Interfaces:
MigrationInsightOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class MigrationInsight extends com.google.protobuf.GeneratedMessage implements MigrationInsightOrBuilder
 An insight about potential migrations for an asset.
 
Protobuf type google.cloud.migrationcenter.v1.MigrationInsight
See Also:
  • Field Details

    • FIT_FIELD_NUMBER

      public static final int FIT_FIELD_NUMBER
      See Also:
    • COMPUTE_ENGINE_TARGET_FIELD_NUMBER

      public static final int COMPUTE_ENGINE_TARGET_FIELD_NUMBER
      See Also:
  • 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
    • getMigrationTargetCase

      public MigrationInsight.MigrationTargetCase getMigrationTargetCase()
      Specified by:
      getMigrationTargetCase in interface MigrationInsightOrBuilder
    • 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.
    • 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.
    • 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
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MigrationInsight parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationInsight parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationInsight parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationInsight parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationInsight parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationInsight parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationInsight parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MigrationInsight parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MigrationInsight parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MigrationInsight parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MigrationInsight parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MigrationInsight parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static MigrationInsight.Builder newBuilder()
    • newBuilder

      public static MigrationInsight.Builder newBuilder(MigrationInsight prototype)
    • toBuilder

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

      protected MigrationInsight.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static MigrationInsight getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MigrationInsight> parser()
    • getParserForType

      public com.google.protobuf.Parser<MigrationInsight> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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