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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ImportRowErrorImplements
ImportRowErrorOrBuilderStatic Fields
ERRORS_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ROW_NUMBER_FIELD_NUMBER
public static final int ROW_NUMBER_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
VM_NAME_FIELD_NUMBER
public static final int VM_NAME_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
VM_UUID_FIELD_NUMBER
public static final int VM_UUID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ImportRowError getDefaultInstance()
Returns | |
---|---|
Type | Description |
ImportRowError |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ImportRowError.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ImportRowError.Builder |
newBuilder(ImportRowError prototype)
public static ImportRowError.Builder newBuilder(ImportRowError prototype)
Parameter | |
---|---|
Name | Description |
prototype | ImportRowError |
Returns | |
---|---|
Type | Description |
ImportRowError.Builder |
parseDelimitedFrom(InputStream input)
public static ImportRowError parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportRowError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ImportRowError parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImportRowError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ImportRowError parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImportRowError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ImportRowError parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportRowError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ImportRowError parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ImportRowError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ImportRowError parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImportRowError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportRowError |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ImportRowError> parser()
Returns | |
---|---|
Type | Description |
Parser<ImportRowError> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDefaultInstanceForType()
public ImportRowError getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ImportError |
getErrorsCount()
public int getErrorsCount()
The list of errors detected in the row.
repeated .google.cloud.migrationcenter.v1.ImportError errors = 4;
Returns | |
---|---|
Type | Description |
int |
getErrorsList()
public List<ImportError> getErrorsList()
The list of errors detected in the row.
repeated .google.cloud.migrationcenter.v1.ImportError errors = 4;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ImportErrorOrBuilder |
getErrorsOrBuilderList()
public List<? extends ImportErrorOrBuilder> getErrorsOrBuilderList()
The list of errors detected in the row.
repeated .google.cloud.migrationcenter.v1.ImportError errors = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.migrationcenter.v1.ImportErrorOrBuilder> |
getParserForType()
public Parser<ImportRowError> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ImportRowError> |
getRowNumber() (deprecated)
public int getRowNumber()
Deprecated. google.cloud.migrationcenter.v1.ImportRowError.row_number is deprecated. See google/cloud/migrationcenter/v1/migrationcenter.proto;l=3572
The row number where the error was detected.
int32 row_number = 1 [deprecated = true];
Returns | |
---|---|
Type | Description |
int | The rowNumber. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getVmName()
public String getVmName()
The name of the VM in the row.
string vm_name = 2;
Returns | |
---|---|
Type | Description |
String | The vmName. |
getVmNameBytes()
public ByteString getVmNameBytes()
The name of the VM in the row.
string vm_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for vmName. |
getVmUuid()
public String getVmUuid()
The VM UUID.
string vm_uuid = 3;
Returns | |
---|---|
Type | Description |
String | The vmUuid. |
getVmUuidBytes()
public ByteString getVmUuidBytes()
The VM UUID.
string vm_uuid = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for vmUuid. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ImportRowError.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ImportRowError.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImportRowError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ImportRowError.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ImportRowError.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ImportRowError.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |