Class ImportRowError (0.3.0)

public final class ImportRowError extends GeneratedMessageV3 implements ImportRowErrorOrBuilder

A resource that reports the import job errors at row level.

Protobuf type google.cloud.migrationcenter.v1.ImportRowError

Static Fields

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

ROW_NUMBER_FIELD_NUMBER

public static final int ROW_NUMBER_FIELD_NUMBER
Field Value
TypeDescription
int

VM_NAME_FIELD_NUMBER

public static final int VM_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VM_UUID_FIELD_NUMBER

public static final int VM_UUID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportRowError getDefaultInstance()
Returns
TypeDescription
ImportRowError

getDescriptor()

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

newBuilder()

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

newBuilder(ImportRowError prototype)

public static ImportRowError.Builder newBuilder(ImportRowError prototype)
Parameter
NameDescription
prototypeImportRowError
Returns
TypeDescription
ImportRowError.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportRowError getDefaultInstanceForType()
Returns
TypeDescription
ImportRowError

getErrors(int index)

public ImportError getErrors(int index)

The list of errors detected in the row.

repeated .google.cloud.migrationcenter.v1.ImportError errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportError

getErrorsCount()

public int getErrorsCount()

The list of errors detected in the row.

repeated .google.cloud.migrationcenter.v1.ImportError errors = 4;

Returns
TypeDescription
int

getErrorsList()

public List<ImportError> getErrorsList()

The list of errors detected in the row.

repeated .google.cloud.migrationcenter.v1.ImportError errors = 4;

Returns
TypeDescription
List<ImportError>

getErrorsOrBuilder(int index)

public ImportErrorOrBuilder getErrorsOrBuilder(int index)

The list of errors detected in the row.

repeated .google.cloud.migrationcenter.v1.ImportError errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ImportErrorOrBuilder> getErrorsOrBuilderList()

The list of errors detected in the row.

repeated .google.cloud.migrationcenter.v1.ImportError errors = 4;

Returns
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.ImportErrorOrBuilder>

getParserForType()

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

getRowNumber() (deprecated)

public int getRowNumber()

Deprecated. google.cloud.migrationcenter.v1.ImportRowError.row_number is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=3535

The row number where the error was detected.

int32 row_number = 1 [deprecated = true];

Returns
TypeDescription
int

The rowNumber.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVmName()

public String getVmName()

The name of the VM in the row.

string vm_name = 2;

Returns
TypeDescription
String

The vmName.

getVmNameBytes()

public ByteString getVmNameBytes()

The name of the VM in the row.

string vm_name = 2;

Returns
TypeDescription
ByteString

The bytes for vmName.

getVmUuid()

public String getVmUuid()

The VM UUID.

string vm_uuid = 3;

Returns
TypeDescription
String

The vmUuid.

getVmUuidBytes()

public ByteString getVmUuidBytes()

The VM UUID.

string vm_uuid = 3;

Returns
TypeDescription
ByteString

The bytes for vmUuid.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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