Class MoveAnalysisResult.Builder

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

public static final class MoveAnalysisResult.Builder extends com.google.protobuf.GeneratedMessage.Builder<MoveAnalysisResult.Builder> implements MoveAnalysisResultOrBuilder
 An analysis result including blockers and warnings.
 
Protobuf type google.cloud.asset.v1.MoveAnalysisResult
  • 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<MoveAnalysisResult.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<MoveAnalysisResult.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<MoveAnalysisResult.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public MoveAnalysisResult.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<MoveAnalysisResult.Builder>
      Throws:
      IOException
    • getBlockersList

      public List<MoveImpact> getBlockersList()
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      Specified by:
      getBlockersList in interface MoveAnalysisResultOrBuilder
    • getBlockersCount

      public int getBlockersCount()
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      Specified by:
      getBlockersCount in interface MoveAnalysisResultOrBuilder
    • getBlockers

      public MoveImpact getBlockers(int index)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      Specified by:
      getBlockers in interface MoveAnalysisResultOrBuilder
    • setBlockers

      public MoveAnalysisResult.Builder setBlockers(int index, MoveImpact value)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • setBlockers

      public MoveAnalysisResult.Builder setBlockers(int index, MoveImpact.Builder builderForValue)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • addBlockers

      public MoveAnalysisResult.Builder addBlockers(MoveImpact value)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • addBlockers

      public MoveAnalysisResult.Builder addBlockers(int index, MoveImpact value)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • addBlockers

      public MoveAnalysisResult.Builder addBlockers(MoveImpact.Builder builderForValue)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • addBlockers

      public MoveAnalysisResult.Builder addBlockers(int index, MoveImpact.Builder builderForValue)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • addAllBlockers

      public MoveAnalysisResult.Builder addAllBlockers(Iterable<? extends MoveImpact> values)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • clearBlockers

      public MoveAnalysisResult.Builder clearBlockers()
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • removeBlockers

      public MoveAnalysisResult.Builder removeBlockers(int index)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • getBlockersBuilder

      public MoveImpact.Builder getBlockersBuilder(int index)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • getBlockersOrBuilder

      public MoveImpactOrBuilder getBlockersOrBuilder(int index)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      Specified by:
      getBlockersOrBuilder in interface MoveAnalysisResultOrBuilder
    • getBlockersOrBuilderList

      public List<? extends MoveImpactOrBuilder> getBlockersOrBuilderList()
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
      Specified by:
      getBlockersOrBuilderList in interface MoveAnalysisResultOrBuilder
    • addBlockersBuilder

      public MoveImpact.Builder addBlockersBuilder()
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • addBlockersBuilder

      public MoveImpact.Builder addBlockersBuilder(int index)
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • getBlockersBuilderList

      public List<MoveImpact.Builder> getBlockersBuilderList()
       Blocking information that would prevent the target resource from moving
       to the specified destination at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact blockers = 1;
    • getWarningsList

      public List<MoveImpact> getWarningsList()
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      Specified by:
      getWarningsList in interface MoveAnalysisResultOrBuilder
    • getWarningsCount

      public int getWarningsCount()
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      Specified by:
      getWarningsCount in interface MoveAnalysisResultOrBuilder
    • getWarnings

      public MoveImpact getWarnings(int index)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      Specified by:
      getWarnings in interface MoveAnalysisResultOrBuilder
    • setWarnings

      public MoveAnalysisResult.Builder setWarnings(int index, MoveImpact value)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • setWarnings

      public MoveAnalysisResult.Builder setWarnings(int index, MoveImpact.Builder builderForValue)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • addWarnings

      public MoveAnalysisResult.Builder addWarnings(MoveImpact value)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • addWarnings

      public MoveAnalysisResult.Builder addWarnings(int index, MoveImpact value)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • addWarnings

      public MoveAnalysisResult.Builder addWarnings(MoveImpact.Builder builderForValue)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • addWarnings

      public MoveAnalysisResult.Builder addWarnings(int index, MoveImpact.Builder builderForValue)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • addAllWarnings

      public MoveAnalysisResult.Builder addAllWarnings(Iterable<? extends MoveImpact> values)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • clearWarnings

      public MoveAnalysisResult.Builder clearWarnings()
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • removeWarnings

      public MoveAnalysisResult.Builder removeWarnings(int index)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • getWarningsBuilder

      public MoveImpact.Builder getWarningsBuilder(int index)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • getWarningsOrBuilder

      public MoveImpactOrBuilder getWarningsOrBuilder(int index)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      Specified by:
      getWarningsOrBuilder in interface MoveAnalysisResultOrBuilder
    • getWarningsOrBuilderList

      public List<? extends MoveImpactOrBuilder> getWarningsOrBuilderList()
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
      Specified by:
      getWarningsOrBuilderList in interface MoveAnalysisResultOrBuilder
    • addWarningsBuilder

      public MoveImpact.Builder addWarningsBuilder()
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • addWarningsBuilder

      public MoveImpact.Builder addWarningsBuilder(int index)
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;
    • getWarningsBuilderList

      public List<MoveImpact.Builder> getWarningsBuilderList()
       Warning information indicating that moving the target resource to the
       specified destination might be unsafe. This can include important policy
       information and configuration changes, but will not block moves at runtime.
       
      repeated .google.cloud.asset.v1.MoveImpact warnings = 2;