Class ValidationReport (0.21.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
TypeDescription
int

JOB_ERRORS_FIELD_NUMBER

public static final int JOB_ERRORS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ValidationReport getDefaultInstance()
Returns
TypeDescription
ValidationReport

getDescriptor()

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

newBuilder()

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

newBuilder(ValidationReport prototype)

public static ValidationReport.Builder newBuilder(ValidationReport prototype)
Parameter
NameDescription
prototypeValidationReport
Returns
TypeDescription
ValidationReport.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ValidationReport getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
FileValidationReport

getFileValidationsCount()

public int getFileValidationsCount()

List of errors found in files.

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

Returns
TypeDescription
int

getFileValidationsList()

public List<FileValidationReport> getFileValidationsList()

List of errors found in files.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
FileValidationReportOrBuilder

getFileValidationsOrBuilderList()

public List<? extends FileValidationReportOrBuilder> getFileValidationsOrBuilderList()

List of errors found in files.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportError

getJobErrorsCount()

public int getJobErrorsCount()

List of job level errors.

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

Returns
TypeDescription
int

getJobErrorsList()

public List<ImportError> getJobErrorsList()

List of job level errors.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportErrorOrBuilder

getJobErrorsOrBuilderList()

public List<? extends ImportErrorOrBuilder> getJobErrorsOrBuilderList()

List of job level errors.

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

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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