Class InsightList.Builder

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

public static final class InsightList.Builder extends com.google.protobuf.GeneratedMessage.Builder<InsightList.Builder> implements InsightListOrBuilder
 Message containing insights list.
 
Protobuf type google.cloud.migrationcenter.v1.InsightList
  • 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<InsightList.Builder>
    • clear

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

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

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

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

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

      public InsightList.Builder mergeFrom(InsightList other)
    • isInitialized

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

      public InsightList.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<InsightList.Builder>
      Throws:
      IOException
    • getInsightsList

      public List<Insight> getInsightsList()
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInsightsList in interface InsightListOrBuilder
    • getInsightsCount

      public int getInsightsCount()
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInsightsCount in interface InsightListOrBuilder
    • getInsights

      public Insight getInsights(int index)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInsights in interface InsightListOrBuilder
    • setInsights

      public InsightList.Builder setInsights(int index, Insight value)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setInsights

      public InsightList.Builder setInsights(int index, Insight.Builder builderForValue)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInsights

      public InsightList.Builder addInsights(Insight value)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInsights

      public InsightList.Builder addInsights(int index, Insight value)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInsights

      public InsightList.Builder addInsights(Insight.Builder builderForValue)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInsights

      public InsightList.Builder addInsights(int index, Insight.Builder builderForValue)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllInsights

      public InsightList.Builder addAllInsights(Iterable<? extends Insight> values)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearInsights

      public InsightList.Builder clearInsights()
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeInsights

      public InsightList.Builder removeInsights(int index)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getInsightsBuilder

      public Insight.Builder getInsightsBuilder(int index)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getInsightsOrBuilder

      public InsightOrBuilder getInsightsOrBuilder(int index)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInsightsOrBuilder in interface InsightListOrBuilder
    • getInsightsOrBuilderList

      public List<? extends InsightOrBuilder> getInsightsOrBuilderList()
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInsightsOrBuilderList in interface InsightListOrBuilder
    • addInsightsBuilder

      public Insight.Builder addInsightsBuilder()
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addInsightsBuilder

      public Insight.Builder addInsightsBuilder(int index)
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getInsightsBuilderList

      public List<Insight.Builder> getInsightsBuilderList()
       Output only. Insights of the list.
       
      repeated .google.cloud.migrationcenter.v1.Insight insights = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasUpdateTime in interface InsightListOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTime in interface InsightListOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public InsightList.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setUpdateTime

      public InsightList.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeUpdateTime

      public InsightList.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearUpdateTime

      public InsightList.Builder clearUpdateTime()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Update timestamp.
       
      .google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getUpdateTimeOrBuilder in interface InsightListOrBuilder