Class MoveAnalysisResult.Builder (3.46.0)

public static final class MoveAnalysisResult.Builder extends GeneratedMessageV3.Builder<MoveAnalysisResult.Builder> implements MoveAnalysisResultOrBuilder

An analysis result including blockers and warnings.

Protobuf type google.cloud.asset.v1.MoveAnalysisResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllBlockers(Iterable<? extends MoveImpact> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.MoveImpact>
Returns
Type Description
MoveAnalysisResult.Builder

addAllWarnings(Iterable<? extends MoveImpact> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.MoveImpact>
Returns
Type Description
MoveAnalysisResult.Builder

addBlockers(MoveImpact value)

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;

Parameter
Name Description
value MoveImpact
Returns
Type Description
MoveAnalysisResult.Builder

addBlockers(MoveImpact.Builder builderForValue)

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;

Parameter
Name Description
builderForValue MoveImpact.Builder
Returns
Type Description
MoveAnalysisResult.Builder

addBlockers(int index, MoveImpact value)

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;

Parameters
Name Description
index int
value MoveImpact
Returns
Type Description
MoveAnalysisResult.Builder

addBlockers(int index, MoveImpact.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue MoveImpact.Builder
Returns
Type Description
MoveAnalysisResult.Builder

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;

Returns
Type Description
MoveImpact.Builder

addBlockersBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
MoveImpact.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MoveAnalysisResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MoveAnalysisResult.Builder
Overrides

addWarnings(MoveImpact value)

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;

Parameter
Name Description
value MoveImpact
Returns
Type Description
MoveAnalysisResult.Builder

addWarnings(MoveImpact.Builder builderForValue)

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;

Parameter
Name Description
builderForValue MoveImpact.Builder
Returns
Type Description
MoveAnalysisResult.Builder

addWarnings(int index, MoveImpact value)

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;

Parameters
Name Description
index int
value MoveImpact
Returns
Type Description
MoveAnalysisResult.Builder

addWarnings(int index, MoveImpact.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue MoveImpact.Builder
Returns
Type Description
MoveAnalysisResult.Builder

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;

Returns
Type Description
MoveImpact.Builder

addWarningsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
MoveImpact.Builder

build()

public MoveAnalysisResult build()
Returns
Type Description
MoveAnalysisResult

buildPartial()

public MoveAnalysisResult buildPartial()
Returns
Type Description
MoveAnalysisResult

clear()

public MoveAnalysisResult.Builder clear()
Returns
Type Description
MoveAnalysisResult.Builder
Overrides

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;

Returns
Type Description
MoveAnalysisResult.Builder

clearField(Descriptors.FieldDescriptor field)

public MoveAnalysisResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MoveAnalysisResult.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MoveAnalysisResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MoveAnalysisResult.Builder
Overrides

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;

Returns
Type Description
MoveAnalysisResult.Builder

clone()

public MoveAnalysisResult.Builder clone()
Returns
Type Description
MoveAnalysisResult.Builder
Overrides

getBlockers(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
MoveImpact

getBlockersBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
MoveImpact.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

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;

Returns
Type Description
List<MoveImpact>

getBlockersOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
MoveImpactOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.MoveImpactOrBuilder>

getDefaultInstanceForType()

public MoveAnalysisResult getDefaultInstanceForType()
Returns
Type Description
MoveAnalysisResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getWarnings(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
MoveImpact

getWarningsBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
MoveImpact.Builder

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;

Returns
Type Description
List<Builder>

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;

Returns
Type Description
int

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;

Returns
Type Description
List<MoveImpact>

getWarningsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
MoveImpactOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.MoveImpactOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MoveAnalysisResult other)

public MoveAnalysisResult.Builder mergeFrom(MoveAnalysisResult other)
Parameter
Name Description
other MoveAnalysisResult
Returns
Type Description
MoveAnalysisResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MoveAnalysisResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveAnalysisResult.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MoveAnalysisResult.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MoveAnalysisResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MoveAnalysisResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MoveAnalysisResult.Builder
Overrides

removeBlockers(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
MoveAnalysisResult.Builder

removeWarnings(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
MoveAnalysisResult.Builder

setBlockers(int index, MoveImpact value)

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;

Parameters
Name Description
index int
value MoveImpact
Returns
Type Description
MoveAnalysisResult.Builder

setBlockers(int index, MoveImpact.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue MoveImpact.Builder
Returns
Type Description
MoveAnalysisResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MoveAnalysisResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MoveAnalysisResult.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MoveAnalysisResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MoveAnalysisResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MoveAnalysisResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MoveAnalysisResult.Builder
Overrides

setWarnings(int index, MoveImpact value)

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;

Parameters
Name Description
index int
value MoveImpact
Returns
Type Description
MoveAnalysisResult.Builder

setWarnings(int index, MoveImpact.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue MoveImpact.Builder
Returns
Type Description
MoveAnalysisResult.Builder