Class MoveAnalysis.Builder (3.45.0)

public static final class MoveAnalysis.Builder extends GeneratedMessageV3.Builder<MoveAnalysis.Builder> implements MoveAnalysisOrBuilder

A message to group the analysis information.

Protobuf type google.cloud.asset.v1.MoveAnalysis

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MoveAnalysis build()
Returns
Type Description
MoveAnalysis

buildPartial()

public MoveAnalysis buildPartial()
Returns
Type Description
MoveAnalysis

clear()

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

clearAnalysis()

public MoveAnalysis.Builder clearAnalysis()

Analysis result of moving the target resource.

.google.cloud.asset.v1.MoveAnalysisResult analysis = 2;

Returns
Type Description
MoveAnalysis.Builder

clearDisplayName()

public MoveAnalysis.Builder clearDisplayName()

The user friendly display name of the analysis. E.g. IAM, organization policy etc.

string display_name = 1;

Returns
Type Description
MoveAnalysis.Builder

This builder for chaining.

clearError()

public MoveAnalysis.Builder clearError()

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Returns
Type Description
MoveAnalysis.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public MoveAnalysis.Builder clearResult()
Returns
Type Description
MoveAnalysis.Builder

clone()

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

getAnalysis()

public MoveAnalysisResult getAnalysis()

Analysis result of moving the target resource.

.google.cloud.asset.v1.MoveAnalysisResult analysis = 2;

Returns
Type Description
MoveAnalysisResult

The analysis.

getAnalysisBuilder()

public MoveAnalysisResult.Builder getAnalysisBuilder()

Analysis result of moving the target resource.

.google.cloud.asset.v1.MoveAnalysisResult analysis = 2;

Returns
Type Description
MoveAnalysisResult.Builder

getAnalysisOrBuilder()

public MoveAnalysisResultOrBuilder getAnalysisOrBuilder()

Analysis result of moving the target resource.

.google.cloud.asset.v1.MoveAnalysisResult analysis = 2;

Returns
Type Description
MoveAnalysisResultOrBuilder

getDefaultInstanceForType()

public MoveAnalysis getDefaultInstanceForType()
Returns
Type Description
MoveAnalysis

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

The user friendly display name of the analysis. E.g. IAM, organization policy etc.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The user friendly display name of the analysis. E.g. IAM, organization policy etc.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getError()

public Status getError()

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getResultCase()

public MoveAnalysis.ResultCase getResultCase()
Returns
Type Description
MoveAnalysis.ResultCase

hasAnalysis()

public boolean hasAnalysis()

Analysis result of moving the target resource.

.google.cloud.asset.v1.MoveAnalysisResult analysis = 2;

Returns
Type Description
boolean

Whether the analysis field is set.

hasError()

public boolean hasError()

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Returns
Type Description
boolean

Whether the error field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAnalysis(MoveAnalysisResult value)

public MoveAnalysis.Builder mergeAnalysis(MoveAnalysisResult value)

Analysis result of moving the target resource.

.google.cloud.asset.v1.MoveAnalysisResult analysis = 2;

Parameter
Name Description
value MoveAnalysisResult
Returns
Type Description
MoveAnalysis.Builder

mergeError(Status value)

public MoveAnalysis.Builder mergeError(Status value)

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
MoveAnalysis.Builder

mergeFrom(MoveAnalysis other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAnalysis(MoveAnalysisResult value)

public MoveAnalysis.Builder setAnalysis(MoveAnalysisResult value)

Analysis result of moving the target resource.

.google.cloud.asset.v1.MoveAnalysisResult analysis = 2;

Parameter
Name Description
value MoveAnalysisResult
Returns
Type Description
MoveAnalysis.Builder

setAnalysis(MoveAnalysisResult.Builder builderForValue)

public MoveAnalysis.Builder setAnalysis(MoveAnalysisResult.Builder builderForValue)

Analysis result of moving the target resource.

.google.cloud.asset.v1.MoveAnalysisResult analysis = 2;

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

setDisplayName(String value)

public MoveAnalysis.Builder setDisplayName(String value)

The user friendly display name of the analysis. E.g. IAM, organization policy etc.

string display_name = 1;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
MoveAnalysis.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public MoveAnalysis.Builder setDisplayNameBytes(ByteString value)

The user friendly display name of the analysis. E.g. IAM, organization policy etc.

string display_name = 1;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
MoveAnalysis.Builder

This builder for chaining.

setError(Status value)

public MoveAnalysis.Builder setError(Status value)

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Parameter
Name Description
value com.google.rpc.Status
Returns
Type Description
MoveAnalysis.Builder

setError(Status.Builder builderForValue)

public MoveAnalysis.Builder setError(Status.Builder builderForValue)

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Parameter
Name Description
builderForValue com.google.rpc.Status.Builder
Returns
Type Description
MoveAnalysis.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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