Class ReportSummary.Builder

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

public static final class ReportSummary.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReportSummary.Builder> implements ReportSummaryOrBuilder
 Describes the Summary view of a Report, which contains aggregated values
 for all the groups and preference sets included in this Report.
 
Protobuf type google.cloud.migrationcenter.v1.ReportSummary
  • 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<ReportSummary.Builder>
    • clear

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

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

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

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

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

      public ReportSummary.Builder mergeFrom(ReportSummary other)
    • isInitialized

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

      public ReportSummary.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<ReportSummary.Builder>
      Throws:
      IOException
    • hasAllAssetsStats

      public boolean hasAllAssetsStats()
       Aggregate statistics for all the assets across all the groups.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;
      Specified by:
      hasAllAssetsStats in interface ReportSummaryOrBuilder
      Returns:
      Whether the allAssetsStats field is set.
    • getAllAssetsStats

      public ReportSummary.AssetAggregateStats getAllAssetsStats()
       Aggregate statistics for all the assets across all the groups.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;
      Specified by:
      getAllAssetsStats in interface ReportSummaryOrBuilder
      Returns:
      The allAssetsStats.
    • setAllAssetsStats

      public ReportSummary.Builder setAllAssetsStats(ReportSummary.AssetAggregateStats value)
       Aggregate statistics for all the assets across all the groups.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;
    • setAllAssetsStats

      public ReportSummary.Builder setAllAssetsStats(ReportSummary.AssetAggregateStats.Builder builderForValue)
       Aggregate statistics for all the assets across all the groups.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;
    • mergeAllAssetsStats

      public ReportSummary.Builder mergeAllAssetsStats(ReportSummary.AssetAggregateStats value)
       Aggregate statistics for all the assets across all the groups.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;
    • clearAllAssetsStats

      public ReportSummary.Builder clearAllAssetsStats()
       Aggregate statistics for all the assets across all the groups.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;
    • getAllAssetsStatsBuilder

      public ReportSummary.AssetAggregateStats.Builder getAllAssetsStatsBuilder()
       Aggregate statistics for all the assets across all the groups.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;
    • getAllAssetsStatsOrBuilder

      public ReportSummary.AssetAggregateStatsOrBuilder getAllAssetsStatsOrBuilder()
       Aggregate statistics for all the assets across all the groups.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats all_assets_stats = 1;
      Specified by:
      getAllAssetsStatsOrBuilder in interface ReportSummaryOrBuilder
    • getGroupFindingsList

      public List<ReportSummary.GroupFinding> getGroupFindingsList()
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
      Specified by:
      getGroupFindingsList in interface ReportSummaryOrBuilder
    • getGroupFindingsCount

      public int getGroupFindingsCount()
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
      Specified by:
      getGroupFindingsCount in interface ReportSummaryOrBuilder
    • getGroupFindings

      public ReportSummary.GroupFinding getGroupFindings(int index)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
      Specified by:
      getGroupFindings in interface ReportSummaryOrBuilder
    • setGroupFindings

      public ReportSummary.Builder setGroupFindings(int index, ReportSummary.GroupFinding value)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • setGroupFindings

      public ReportSummary.Builder setGroupFindings(int index, ReportSummary.GroupFinding.Builder builderForValue)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • addGroupFindings

      public ReportSummary.Builder addGroupFindings(ReportSummary.GroupFinding value)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • addGroupFindings

      public ReportSummary.Builder addGroupFindings(int index, ReportSummary.GroupFinding value)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • addGroupFindings

      public ReportSummary.Builder addGroupFindings(ReportSummary.GroupFinding.Builder builderForValue)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • addGroupFindings

      public ReportSummary.Builder addGroupFindings(int index, ReportSummary.GroupFinding.Builder builderForValue)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • addAllGroupFindings

      public ReportSummary.Builder addAllGroupFindings(Iterable<? extends ReportSummary.GroupFinding> values)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • clearGroupFindings

      public ReportSummary.Builder clearGroupFindings()
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • removeGroupFindings

      public ReportSummary.Builder removeGroupFindings(int index)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • getGroupFindingsBuilder

      public ReportSummary.GroupFinding.Builder getGroupFindingsBuilder(int index)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • getGroupFindingsOrBuilder

      public ReportSummary.GroupFindingOrBuilder getGroupFindingsOrBuilder(int index)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
      Specified by:
      getGroupFindingsOrBuilder in interface ReportSummaryOrBuilder
    • getGroupFindingsOrBuilderList

      public List<? extends ReportSummary.GroupFindingOrBuilder> getGroupFindingsOrBuilderList()
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
      Specified by:
      getGroupFindingsOrBuilderList in interface ReportSummaryOrBuilder
    • addGroupFindingsBuilder

      public ReportSummary.GroupFinding.Builder addGroupFindingsBuilder()
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • addGroupFindingsBuilder

      public ReportSummary.GroupFinding.Builder addGroupFindingsBuilder(int index)
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;
    • getGroupFindingsBuilderList

      public List<ReportSummary.GroupFinding.Builder> getGroupFindingsBuilderList()
       Findings for each Group included in this report.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupFinding group_findings = 2;