Class 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.GeneratedMessageV3.Builder<MoveAnalysisResult.Builder>
    implements MoveAnalysisResultOrBuilder
     An analysis result including blockers and warnings.
     
    Protobuf type google.cloud.asset.v1.MoveAnalysisResult
    • 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<MoveAnalysisResult.Builder>
      • clear

        public 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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

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

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

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

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

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

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

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

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

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