Class ImportError (0.1.0)

public final class ImportError extends GeneratedMessageV3 implements ImportErrorOrBuilder

A resource that reports the errors encountered while processing an import job.

Protobuf type google.cloud.migrationcenter.v1.ImportError

Static Fields

ERROR_DETAILS_FIELD_NUMBER

public static final int ERROR_DETAILS_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportError getDefaultInstance()
Returns
TypeDescription
ImportError

getDescriptor()

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

newBuilder()

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

newBuilder(ImportError prototype)

public static ImportError.Builder newBuilder(ImportError prototype)
Parameter
NameDescription
prototypeImportError
Returns
TypeDescription
ImportError.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportError getDefaultInstanceForType()
Returns
TypeDescription
ImportError

getErrorDetails()

public String getErrorDetails()

The error information.

string error_details = 1;

Returns
TypeDescription
String

The errorDetails.

getErrorDetailsBytes()

public ByteString getErrorDetailsBytes()

The error information.

string error_details = 1;

Returns
TypeDescription
ByteString

The bytes for errorDetails.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSeverity()

public ImportError.Severity getSeverity()

The severity of the error.

.google.cloud.migrationcenter.v1.ImportError.Severity severity = 2;

Returns
TypeDescription
ImportError.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

The severity of the error.

.google.cloud.migrationcenter.v1.ImportError.Severity severity = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for severity.

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 ImportError.Builder newBuilderForType()
Returns
TypeDescription
ImportError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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