Class MoveAnalysis.Builder (3.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public MoveAnalysis build()
Returns
TypeDescription
MoveAnalysis

buildPartial()

public MoveAnalysis buildPartial()
Returns
TypeDescription
MoveAnalysis

clear()

public MoveAnalysis.Builder clear()
Returns
TypeDescription
MoveAnalysis.Builder
Overrides

clearAnalysis()

public MoveAnalysis.Builder clearAnalysis()

Analysis result of moving the target resource.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
MoveAnalysis.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public MoveAnalysis.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
MoveAnalysis.Builder
Overrides

clearResult()

public MoveAnalysis.Builder clearResult()
Returns
TypeDescription
MoveAnalysis.Builder

clone()

public MoveAnalysis.Builder clone()
Returns
TypeDescription
MoveAnalysis.Builder
Overrides

getAnalysis()

public MoveAnalysisResult getAnalysis()

Analysis result of moving the target resource.

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

Returns
TypeDescription
MoveAnalysisResult

The analysis.

getAnalysisBuilder()

public MoveAnalysisResult.Builder getAnalysisBuilder()

Analysis result of moving the target resource.

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

Returns
TypeDescription
MoveAnalysisResult.Builder

getAnalysisOrBuilder()

public MoveAnalysisResultOrBuilder getAnalysisOrBuilder()

Analysis result of moving the target resource.

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

Returns
TypeDescription
MoveAnalysisResultOrBuilder

getDefaultInstanceForType()

public MoveAnalysis getDefaultInstanceForType()
Returns
TypeDescription
MoveAnalysis

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for displayName.

getError()

public Status getError()

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Returns
TypeDescription
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
TypeDescription
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getResultCase()

public MoveAnalysis.ResultCase getResultCase()
Returns
TypeDescription
MoveAnalysis.ResultCase

hasAnalysis()

public boolean hasAnalysis()

Analysis result of moving the target resource.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the error field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueMoveAnalysisResult
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
MoveAnalysis.Builder

mergeFrom(MoveAnalysis other)

public MoveAnalysis.Builder mergeFrom(MoveAnalysis other)
Parameter
NameDescription
otherMoveAnalysis
Returns
TypeDescription
MoveAnalysis.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MoveAnalysis.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueMoveAnalysisResult
Returns
TypeDescription
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
NameDescription
builderForValueMoveAnalysisResult.Builder
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
MoveAnalysis.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final MoveAnalysis.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
MoveAnalysis.Builder
Overrides