Class MoveAnalysisResult.Builder (3.2.17)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.asset.v1.MoveImpact>
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.asset.v1.MoveImpact>
Returns
TypeDescription
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
NameDescription
valueMoveImpact
Returns
TypeDescription
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
NameDescription
builderForValueMoveImpact.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMoveImpact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMoveImpact.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MoveImpact.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MoveAnalysisResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueMoveImpact
Returns
TypeDescription
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
NameDescription
builderForValueMoveImpact.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueMoveImpact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMoveImpact.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
MoveImpact.Builder

build()

public MoveAnalysisResult build()
Returns
TypeDescription
MoveAnalysisResult

buildPartial()

public MoveAnalysisResult buildPartial()
Returns
TypeDescription
MoveAnalysisResult

clear()

public MoveAnalysisResult.Builder clear()
Returns
TypeDescription
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
TypeDescription
MoveAnalysisResult.Builder

clearField(Descriptors.FieldDescriptor field)

public MoveAnalysisResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
MoveAnalysisResult.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public MoveAnalysisResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
MoveAnalysisResult.Builder

clone()

public MoveAnalysisResult.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.asset.v1.MoveImpactOrBuilder>

getDefaultInstanceForType()

public MoveAnalysisResult getDefaultInstanceForType()
Returns
TypeDescription
MoveAnalysisResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.asset.v1.MoveImpactOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(MoveAnalysisResult other)

public MoveAnalysisResult.Builder mergeFrom(MoveAnalysisResult other)
Parameter
NameDescription
otherMoveAnalysisResult
Returns
TypeDescription
MoveAnalysisResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MoveAnalysisResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveAnalysisResult.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public MoveAnalysisResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
MoveAnalysisResult.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MoveAnalysisResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueMoveImpact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMoveImpact.Builder
Returns
TypeDescription
MoveAnalysisResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MoveAnalysisResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
MoveAnalysisResult.Builder
Overrides

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

public MoveAnalysisResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
MoveAnalysisResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MoveAnalysisResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueMoveImpact
Returns
TypeDescription
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
NameDescription
indexint
builderForValueMoveImpact.Builder
Returns
TypeDescription
MoveAnalysisResult.Builder