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

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MoveAnalysis getDefaultInstance()
Returns
TypeDescription
MoveAnalysis

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MoveAnalysis.Builder newBuilder()
Returns
TypeDescription
MoveAnalysis.Builder

newBuilder(MoveAnalysis prototype)

public static MoveAnalysis.Builder newBuilder(MoveAnalysis prototype)
Parameter
NameDescription
prototypeMoveAnalysis
Returns
TypeDescription
MoveAnalysis.Builder

parseDelimitedFrom(InputStream input)

public static MoveAnalysis parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MoveAnalysis parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MoveAnalysis parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MoveAnalysis parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MoveAnalysis parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MoveAnalysis parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MoveAnalysis parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MoveAnalysis
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MoveAnalysis> parser()
Returns
TypeDescription
Parser<MoveAnalysis>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAnalysis()

public MoveAnalysisResult getAnalysis()

Analysis result of moving the target resource.

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

Returns
TypeDescription
MoveAnalysisResult

The analysis.

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

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.

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Description of error encountered when performing the analysis.

.google.rpc.Status error = 3;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getParserForType()

public Parser<MoveAnalysis> getParserForType()
Returns
TypeDescription
Parser<MoveAnalysis>
Overrides

getResultCase()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MoveAnalysis.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MoveAnalysis.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException