Class ReportSummary.GroupFinding.Builder

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

public static final class ReportSummary.GroupFinding.Builder extends com.google.protobuf.GeneratedMessage.Builder<ReportSummary.GroupFinding.Builder> implements ReportSummary.GroupFindingOrBuilder
 Summary Findings for a specific Group.
 
Protobuf type google.cloud.migrationcenter.v1.ReportSummary.GroupFinding
  • 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.GroupFinding.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.GroupFinding.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.GroupFinding.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

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

      public String getDisplayName()
       Display Name for the Group.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface ReportSummary.GroupFindingOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Display Name for the Group.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface ReportSummary.GroupFindingOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public ReportSummary.GroupFinding.Builder setDisplayName(String value)
       Display Name for the Group.
       
      string display_name = 1;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public ReportSummary.GroupFinding.Builder clearDisplayName()
       Display Name for the Group.
       
      string display_name = 1;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public ReportSummary.GroupFinding.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Display Name for the Group.
       
      string display_name = 1;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getDescription

      public String getDescription()
       Description for the Group.
       
      string description = 2;
      Specified by:
      getDescription in interface ReportSummary.GroupFindingOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Description for the Group.
       
      string description = 2;
      Specified by:
      getDescriptionBytes in interface ReportSummary.GroupFindingOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public ReportSummary.GroupFinding.Builder setDescription(String value)
       Description for the Group.
       
      string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public ReportSummary.GroupFinding.Builder clearDescription()
       Description for the Group.
       
      string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public ReportSummary.GroupFinding.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Description for the Group.
       
      string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasAssetAggregateStats

      public boolean hasAssetAggregateStats()
       Summary statistics for all the assets in this group.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats asset_aggregate_stats = 3;
      Specified by:
      hasAssetAggregateStats in interface ReportSummary.GroupFindingOrBuilder
      Returns:
      Whether the assetAggregateStats field is set.
    • getAssetAggregateStats

      public ReportSummary.AssetAggregateStats getAssetAggregateStats()
       Summary statistics for all the assets in this group.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats asset_aggregate_stats = 3;
      Specified by:
      getAssetAggregateStats in interface ReportSummary.GroupFindingOrBuilder
      Returns:
      The assetAggregateStats.
    • setAssetAggregateStats

       Summary statistics for all the assets in this group.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats asset_aggregate_stats = 3;
    • setAssetAggregateStats

      public ReportSummary.GroupFinding.Builder setAssetAggregateStats(ReportSummary.AssetAggregateStats.Builder builderForValue)
       Summary statistics for all the assets in this group.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats asset_aggregate_stats = 3;
    • mergeAssetAggregateStats

       Summary statistics for all the assets in this group.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats asset_aggregate_stats = 3;
    • clearAssetAggregateStats

      public ReportSummary.GroupFinding.Builder clearAssetAggregateStats()
       Summary statistics for all the assets in this group.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats asset_aggregate_stats = 3;
    • getAssetAggregateStatsBuilder

      public ReportSummary.AssetAggregateStats.Builder getAssetAggregateStatsBuilder()
       Summary statistics for all the assets in this group.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats asset_aggregate_stats = 3;
    • getAssetAggregateStatsOrBuilder

      public ReportSummary.AssetAggregateStatsOrBuilder getAssetAggregateStatsOrBuilder()
       Summary statistics for all the assets in this group.
       
      .google.cloud.migrationcenter.v1.ReportSummary.AssetAggregateStats asset_aggregate_stats = 3;
      Specified by:
      getAssetAggregateStatsOrBuilder in interface ReportSummary.GroupFindingOrBuilder
    • getOverlappingAssetCount

      @Deprecated public long getOverlappingAssetCount()
      Deprecated.
      google.cloud.migrationcenter.v1.ReportSummary.GroupFinding.overlapping_asset_count is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=4038
       This field is deprecated, do not rely on it having a value.
       
      int64 overlapping_asset_count = 4 [deprecated = true];
      Specified by:
      getOverlappingAssetCount in interface ReportSummary.GroupFindingOrBuilder
      Returns:
      The overlappingAssetCount.
    • setOverlappingAssetCount

      @Deprecated public ReportSummary.GroupFinding.Builder setOverlappingAssetCount(long value)
      Deprecated.
      google.cloud.migrationcenter.v1.ReportSummary.GroupFinding.overlapping_asset_count is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=4038
       This field is deprecated, do not rely on it having a value.
       
      int64 overlapping_asset_count = 4 [deprecated = true];
      Parameters:
      value - The overlappingAssetCount to set.
      Returns:
      This builder for chaining.
    • clearOverlappingAssetCount

      @Deprecated public ReportSummary.GroupFinding.Builder clearOverlappingAssetCount()
      Deprecated.
      google.cloud.migrationcenter.v1.ReportSummary.GroupFinding.overlapping_asset_count is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=4038
       This field is deprecated, do not rely on it having a value.
       
      int64 overlapping_asset_count = 4 [deprecated = true];
      Returns:
      This builder for chaining.
    • getPreferenceSetFindingsList

      public List<ReportSummary.GroupPreferenceSetFinding> getPreferenceSetFindingsList()
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
      Specified by:
      getPreferenceSetFindingsList in interface ReportSummary.GroupFindingOrBuilder
    • getPreferenceSetFindingsCount

      public int getPreferenceSetFindingsCount()
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
      Specified by:
      getPreferenceSetFindingsCount in interface ReportSummary.GroupFindingOrBuilder
    • getPreferenceSetFindings

      public ReportSummary.GroupPreferenceSetFinding getPreferenceSetFindings(int index)
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
      Specified by:
      getPreferenceSetFindings in interface ReportSummary.GroupFindingOrBuilder
    • setPreferenceSetFindings

      public ReportSummary.GroupFinding.Builder setPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding value)
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • setPreferenceSetFindings

      public ReportSummary.GroupFinding.Builder setPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding.Builder builderForValue)
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • addPreferenceSetFindings

       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • addPreferenceSetFindings

      public ReportSummary.GroupFinding.Builder addPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding value)
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • addPreferenceSetFindings

       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • addPreferenceSetFindings

      public ReportSummary.GroupFinding.Builder addPreferenceSetFindings(int index, ReportSummary.GroupPreferenceSetFinding.Builder builderForValue)
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • addAllPreferenceSetFindings

      public ReportSummary.GroupFinding.Builder addAllPreferenceSetFindings(Iterable<? extends ReportSummary.GroupPreferenceSetFinding> values)
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • clearPreferenceSetFindings

      public ReportSummary.GroupFinding.Builder clearPreferenceSetFindings()
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • removePreferenceSetFindings

      public ReportSummary.GroupFinding.Builder removePreferenceSetFindings(int index)
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • getPreferenceSetFindingsBuilder

      public ReportSummary.GroupPreferenceSetFinding.Builder getPreferenceSetFindingsBuilder(int index)
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • getPreferenceSetFindingsOrBuilder

      public ReportSummary.GroupPreferenceSetFindingOrBuilder getPreferenceSetFindingsOrBuilder(int index)
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
      Specified by:
      getPreferenceSetFindingsOrBuilder in interface ReportSummary.GroupFindingOrBuilder
    • getPreferenceSetFindingsOrBuilderList

      public List<? extends ReportSummary.GroupPreferenceSetFindingOrBuilder> getPreferenceSetFindingsOrBuilderList()
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
      Specified by:
      getPreferenceSetFindingsOrBuilderList in interface ReportSummary.GroupFindingOrBuilder
    • addPreferenceSetFindingsBuilder

      public ReportSummary.GroupPreferenceSetFinding.Builder addPreferenceSetFindingsBuilder()
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • addPreferenceSetFindingsBuilder

      public ReportSummary.GroupPreferenceSetFinding.Builder addPreferenceSetFindingsBuilder(int index)
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;
    • getPreferenceSetFindingsBuilderList

      public List<ReportSummary.GroupPreferenceSetFinding.Builder> getPreferenceSetFindingsBuilderList()
       Findings for each of the PreferenceSets for this group.
       
      repeated .google.cloud.migrationcenter.v1.ReportSummary.GroupPreferenceSetFinding preference_set_findings = 5;