Class MoveAnalysis (3.21.0)

public final class MoveAnalysis extends GeneratedMessageV3 implements MoveAnalysisOrBuilder

A message to group the analysis information.

Protobuf type google.cloud.asset.v1.MoveAnalysis

Static Fields

ANALYSIS_FIELD_NUMBER

public static final int ANALYSIS_FIELD_NUMBER
Field Value
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MoveAnalysis getDefaultInstance()
Returns
Type Description
MoveAnalysis

getDescriptor()

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

newBuilder()

public static MoveAnalysis.Builder newBuilder()
Returns
Type Description
MoveAnalysis.Builder

newBuilder(MoveAnalysis prototype)

public static MoveAnalysis.Builder newBuilder(MoveAnalysis prototype)
Parameter
Name Description
prototype MoveAnalysis
Returns
Type Description
MoveAnalysis.Builder

parseDelimitedFrom(InputStream input)

public static MoveAnalysis parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MoveAnalysis parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MoveAnalysis parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MoveAnalysis parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MoveAnalysis parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MoveAnalysis parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MoveAnalysis
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MoveAnalysis> parser()
Returns
Type Description
Parser<MoveAnalysis>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getParserForType()

public Parser<MoveAnalysis> getParserForType()
Returns
Type Description
Parser<MoveAnalysis>
Overrides

getResultCase()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MoveAnalysis.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MoveAnalysis.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException