Class Insight.Builder

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

public static final class Insight.Builder extends com.google.protobuf.GeneratedMessage.Builder<Insight.Builder> implements InsightOrBuilder
 An insight about an asset.
 
Protobuf type google.cloud.migrationcenter.v1.Insight
  • 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<Insight.Builder>
    • clear

      public Insight.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<Insight.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<Insight.Builder>
    • getDefaultInstanceForType

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

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

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

      public Insight.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<Insight.Builder>
    • mergeFrom

      public Insight.Builder mergeFrom(Insight other)
    • isInitialized

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

      public Insight.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<Insight.Builder>
      Throws:
      IOException
    • getInsightCase

      public Insight.InsightCase getInsightCase()
      Specified by:
      getInsightCase in interface InsightOrBuilder
    • clearInsight

      public Insight.Builder clearInsight()
    • hasMigrationInsight

      public boolean hasMigrationInsight()
       Output only. An insight about potential migrations for an asset.
       
      .google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasMigrationInsight in interface InsightOrBuilder
      Returns:
      Whether the migrationInsight field is set.
    • getMigrationInsight

      public MigrationInsight getMigrationInsight()
       Output only. An insight about potential migrations for an asset.
       
      .google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMigrationInsight in interface InsightOrBuilder
      Returns:
      The migrationInsight.
    • setMigrationInsight

      public Insight.Builder setMigrationInsight(MigrationInsight value)
       Output only. An insight about potential migrations for an asset.
       
      .google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setMigrationInsight

      public Insight.Builder setMigrationInsight(MigrationInsight.Builder builderForValue)
       Output only. An insight about potential migrations for an asset.
       
      .google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeMigrationInsight

      public Insight.Builder mergeMigrationInsight(MigrationInsight value)
       Output only. An insight about potential migrations for an asset.
       
      .google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearMigrationInsight

      public Insight.Builder clearMigrationInsight()
       Output only. An insight about potential migrations for an asset.
       
      .google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMigrationInsightBuilder

      public MigrationInsight.Builder getMigrationInsightBuilder()
       Output only. An insight about potential migrations for an asset.
       
      .google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getMigrationInsightOrBuilder

      public MigrationInsightOrBuilder getMigrationInsightOrBuilder()
       Output only. An insight about potential migrations for an asset.
       
      .google.cloud.migrationcenter.v1.MigrationInsight migration_insight = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getMigrationInsightOrBuilder in interface InsightOrBuilder
    • hasGenericInsight

      public boolean hasGenericInsight()
       Output only. A generic insight about an asset
       
      .google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasGenericInsight in interface InsightOrBuilder
      Returns:
      Whether the genericInsight field is set.
    • getGenericInsight

      public GenericInsight getGenericInsight()
       Output only. A generic insight about an asset
       
      .google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGenericInsight in interface InsightOrBuilder
      Returns:
      The genericInsight.
    • setGenericInsight

      public Insight.Builder setGenericInsight(GenericInsight value)
       Output only. A generic insight about an asset
       
      .google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setGenericInsight

      public Insight.Builder setGenericInsight(GenericInsight.Builder builderForValue)
       Output only. A generic insight about an asset
       
      .google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeGenericInsight

      public Insight.Builder mergeGenericInsight(GenericInsight value)
       Output only. A generic insight about an asset
       
      .google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearGenericInsight

      public Insight.Builder clearGenericInsight()
       Output only. A generic insight about an asset
       
      .google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getGenericInsightBuilder

      public GenericInsight.Builder getGenericInsightBuilder()
       Output only. A generic insight about an asset
       
      .google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getGenericInsightOrBuilder

      public GenericInsightOrBuilder getGenericInsightOrBuilder()
       Output only. A generic insight about an asset
       
      .google.cloud.migrationcenter.v1.GenericInsight generic_insight = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGenericInsightOrBuilder in interface InsightOrBuilder