Class ValidationReport (0.28.0)

public final class ValidationReport extends GeneratedMessageV3 implements ValidationReportOrBuilder

A resource that aggregates errors across import job files.

Protobuf type google.cloud.migrationcenter.v1.ValidationReport

Static Fields

FILE_VALIDATIONS_FIELD_NUMBER

public static final int FILE_VALIDATIONS_FIELD_NUMBER
Field Value
Type Description
int

JOB_ERRORS_FIELD_NUMBER

public static final int JOB_ERRORS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ValidationReport getDefaultInstance()
Returns
Type Description
ValidationReport

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ValidationReport.Builder newBuilder()
Returns
Type Description
ValidationReport.Builder

newBuilder(ValidationReport prototype)

public static ValidationReport.Builder newBuilder(ValidationReport prototype)
Parameter
Name Description
prototype ValidationReport
Returns
Type Description
ValidationReport.Builder

parseDelimitedFrom(InputStream input)

public static ValidationReport parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidationReport
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationReport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationReport
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ValidationReport parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ValidationReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ValidationReport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ValidationReport parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ValidationReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ValidationReport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ValidationReport parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ValidationReport
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationReport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationReport
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ValidationReport parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidationReport
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidationReport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationReport
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ValidationReport parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ValidationReport
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ValidationReport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationReport
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ValidationReport> parser()
Returns
Type Description
Parser<ValidationReport>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ValidationReport getDefaultInstanceForType()
Returns
Type Description
ValidationReport

getFileValidations(int index)

public FileValidationReport getFileValidations(int index)

List of errors found in files.

repeated .google.cloud.migrationcenter.v1.FileValidationReport file_validations = 1;

Parameter
Name Description
index int
Returns
Type Description
FileValidationReport

getFileValidationsCount()

public int getFileValidationsCount()

List of errors found in files.

repeated .google.cloud.migrationcenter.v1.FileValidationReport file_validations = 1;

Returns
Type Description
int

getFileValidationsList()

public List<FileValidationReport> getFileValidationsList()

List of errors found in files.

repeated .google.cloud.migrationcenter.v1.FileValidationReport file_validations = 1;

Returns
Type Description
List<FileValidationReport>

getFileValidationsOrBuilder(int index)

public FileValidationReportOrBuilder getFileValidationsOrBuilder(int index)

List of errors found in files.

repeated .google.cloud.migrationcenter.v1.FileValidationReport file_validations = 1;

Parameter
Name Description
index int
Returns
Type Description
FileValidationReportOrBuilder

getFileValidationsOrBuilderList()

public List<? extends FileValidationReportOrBuilder> getFileValidationsOrBuilderList()

List of errors found in files.

repeated .google.cloud.migrationcenter.v1.FileValidationReport file_validations = 1;

Returns
Type Description
List<? extends com.google.cloud.migrationcenter.v1.FileValidationReportOrBuilder>

getJobErrors(int index)

public ImportError getJobErrors(int index)

List of job level errors.

repeated .google.cloud.migrationcenter.v1.ImportError job_errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportError

getJobErrorsCount()

public int getJobErrorsCount()

List of job level errors.

repeated .google.cloud.migrationcenter.v1.ImportError job_errors = 2;

Returns
Type Description
int

getJobErrorsList()

public List<ImportError> getJobErrorsList()

List of job level errors.

repeated .google.cloud.migrationcenter.v1.ImportError job_errors = 2;

Returns
Type Description
List<ImportError>

getJobErrorsOrBuilder(int index)

public ImportErrorOrBuilder getJobErrorsOrBuilder(int index)

List of job level errors.

repeated .google.cloud.migrationcenter.v1.ImportError job_errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ImportErrorOrBuilder

getJobErrorsOrBuilderList()

public List<? extends ImportErrorOrBuilder> getJobErrorsOrBuilderList()

List of job level errors.

repeated .google.cloud.migrationcenter.v1.ImportError job_errors = 2;

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

getParserForType()

public Parser<ValidationReport> getParserForType()
Returns
Type Description
Parser<ValidationReport>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ValidationReport.Builder newBuilderForType()
Returns
Type Description
ValidationReport.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ValidationReport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ValidationReport.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ValidationReport.Builder toBuilder()
Returns
Type Description
ValidationReport.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException