public final class FileValidationReport extends GeneratedMessageV3 implements FileValidationReportOrBuilder
A resource that aggregates the validation errors found in an import job file.
Protobuf type google.cloud.migrationcenter.v1.FileValidationReport
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
FILE_ERRORS_FIELD_NUMBER
public static final int FILE_ERRORS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
FILE_NAME_FIELD_NUMBER
public static final int FILE_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PARTIAL_REPORT_FIELD_NUMBER
public static final int PARTIAL_REPORT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ROW_ERRORS_FIELD_NUMBER
public static final int ROW_ERRORS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static FileValidationReport getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static FileValidationReport.Builder newBuilder()
newBuilder(FileValidationReport prototype)
public static FileValidationReport.Builder newBuilder(FileValidationReport prototype)
public static FileValidationReport parseDelimitedFrom(InputStream input)
public static FileValidationReport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static FileValidationReport parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FileValidationReport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static FileValidationReport parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileValidationReport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FileValidationReport parseFrom(CodedInputStream input)
public static FileValidationReport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static FileValidationReport parseFrom(InputStream input)
public static FileValidationReport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static FileValidationReport parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FileValidationReport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<FileValidationReport> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public FileValidationReport getDefaultInstanceForType()
getFileErrors(int index)
public ImportError getFileErrors(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
Parameter |
Name |
Description |
index |
int
|
getFileErrorsCount()
public int getFileErrorsCount()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
Returns |
Type |
Description |
int |
|
getFileErrorsList()
public List<ImportError> getFileErrorsList()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
getFileErrorsOrBuilder(int index)
public ImportErrorOrBuilder getFileErrorsOrBuilder(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
Parameter |
Name |
Description |
index |
int
|
getFileErrorsOrBuilderList()
public List<? extends ImportErrorOrBuilder> getFileErrorsOrBuilderList()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
Returns |
Type |
Description |
List<? extends com.google.cloud.migrationcenter.v1.ImportErrorOrBuilder> |
|
getFileName()
public String getFileName()
The name of the file.
string file_name = 1;
Returns |
Type |
Description |
String |
The fileName.
|
getFileNameBytes()
public ByteString getFileNameBytes()
The name of the file.
string file_name = 1;
Returns |
Type |
Description |
ByteString |
The bytes for fileName.
|
getParserForType()
public Parser<FileValidationReport> getParserForType()
Overrides
getPartialReport()
public boolean getPartialReport()
Flag indicating that processing was aborted due to maximum number of
errors.
bool partial_report = 3;
Returns |
Type |
Description |
boolean |
The partialReport.
|
getRowErrors(int index)
public ImportRowError getRowErrors(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
Parameter |
Name |
Description |
index |
int
|
getRowErrorsCount()
public int getRowErrorsCount()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
Returns |
Type |
Description |
int |
|
getRowErrorsList()
public List<ImportRowError> getRowErrorsList()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
getRowErrorsOrBuilder(int index)
public ImportRowErrorOrBuilder getRowErrorsOrBuilder(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
Parameter |
Name |
Description |
index |
int
|
getRowErrorsOrBuilderList()
public List<? extends ImportRowErrorOrBuilder> getRowErrorsOrBuilderList()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
Returns |
Type |
Description |
List<? extends com.google.cloud.migrationcenter.v1.ImportRowErrorOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public FileValidationReport.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FileValidationReport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public FileValidationReport.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides