Class 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.GeneratedMessageV3.Builder<InsightList.Builder>
    implements InsightListOrBuilder
     Message containing insights list.
     
    Protobuf type google.cloud.migrationcenter.v1.InsightList
    • 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<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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

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

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

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

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

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

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

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

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

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