Class ValidationReport.Builder (0.11.0)

public static final class ValidationReport.Builder extends GeneratedMessageV3.Builder<ValidationReport.Builder> implements ValidationReportOrBuilder

A resource that aggregates errors across import job files.

Protobuf type google.cloud.migrationcenter.v1.ValidationReport

Static Methods

getDescriptor()

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

Methods

addAllFileValidations(Iterable<? extends FileValidationReport> values)

public ValidationReport.Builder addAllFileValidations(Iterable<? extends FileValidationReport> values)

List of errors found in files.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.FileValidationReport>
Returns
TypeDescription
ValidationReport.Builder

addAllJobErrors(Iterable<? extends ImportError> values)

public ValidationReport.Builder addAllJobErrors(Iterable<? extends ImportError> values)

List of job level errors.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.ImportError>
Returns
TypeDescription
ValidationReport.Builder

addFileValidations(FileValidationReport value)

public ValidationReport.Builder addFileValidations(FileValidationReport value)

List of errors found in files.

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

Parameter
NameDescription
valueFileValidationReport
Returns
TypeDescription
ValidationReport.Builder

addFileValidations(FileValidationReport.Builder builderForValue)

public ValidationReport.Builder addFileValidations(FileValidationReport.Builder builderForValue)

List of errors found in files.

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

Parameter
NameDescription
builderForValueFileValidationReport.Builder
Returns
TypeDescription
ValidationReport.Builder

addFileValidations(int index, FileValidationReport value)

public ValidationReport.Builder addFileValidations(int index, FileValidationReport value)

List of errors found in files.

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

Parameters
NameDescription
indexint
valueFileValidationReport
Returns
TypeDescription
ValidationReport.Builder

addFileValidations(int index, FileValidationReport.Builder builderForValue)

public ValidationReport.Builder addFileValidations(int index, FileValidationReport.Builder builderForValue)

List of errors found in files.

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

Parameters
NameDescription
indexint
builderForValueFileValidationReport.Builder
Returns
TypeDescription
ValidationReport.Builder

addFileValidationsBuilder()

public FileValidationReport.Builder addFileValidationsBuilder()

List of errors found in files.

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

Returns
TypeDescription
FileValidationReport.Builder

addFileValidationsBuilder(int index)

public FileValidationReport.Builder addFileValidationsBuilder(int index)

List of errors found in files.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FileValidationReport.Builder

addJobErrors(ImportError value)

public ValidationReport.Builder addJobErrors(ImportError value)

List of job level errors.

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

Parameter
NameDescription
valueImportError
Returns
TypeDescription
ValidationReport.Builder

addJobErrors(ImportError.Builder builderForValue)

public ValidationReport.Builder addJobErrors(ImportError.Builder builderForValue)

List of job level errors.

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

Parameter
NameDescription
builderForValueImportError.Builder
Returns
TypeDescription
ValidationReport.Builder

addJobErrors(int index, ImportError value)

public ValidationReport.Builder addJobErrors(int index, ImportError value)

List of job level errors.

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

Parameters
NameDescription
indexint
valueImportError
Returns
TypeDescription
ValidationReport.Builder

addJobErrors(int index, ImportError.Builder builderForValue)

public ValidationReport.Builder addJobErrors(int index, ImportError.Builder builderForValue)

List of job level errors.

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

Parameters
NameDescription
indexint
builderForValueImportError.Builder
Returns
TypeDescription
ValidationReport.Builder

addJobErrorsBuilder()

public ImportError.Builder addJobErrorsBuilder()

List of job level errors.

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

Returns
TypeDescription
ImportError.Builder

addJobErrorsBuilder(int index)

public ImportError.Builder addJobErrorsBuilder(int index)

List of job level errors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ValidationReport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ValidationReport.Builder
Overrides

build()

public ValidationReport build()
Returns
TypeDescription
ValidationReport

buildPartial()

public ValidationReport buildPartial()
Returns
TypeDescription
ValidationReport

clear()

public ValidationReport.Builder clear()
Returns
TypeDescription
ValidationReport.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ValidationReport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ValidationReport.Builder
Overrides

clearFileValidations()

public ValidationReport.Builder clearFileValidations()

List of errors found in files.

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

Returns
TypeDescription
ValidationReport.Builder

clearJobErrors()

public ValidationReport.Builder clearJobErrors()

List of job level errors.

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

Returns
TypeDescription
ValidationReport.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ValidationReport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ValidationReport.Builder
Overrides

clone()

public ValidationReport.Builder clone()
Returns
TypeDescription
ValidationReport.Builder
Overrides

getDefaultInstanceForType()

public ValidationReport getDefaultInstanceForType()
Returns
TypeDescription
ValidationReport

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getFileValidationsBuilder(int index)

public FileValidationReport.Builder getFileValidationsBuilder(int index)

List of errors found in files.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FileValidationReport.Builder

getFileValidationsBuilderList()

public List<FileValidationReport.Builder> getFileValidationsBuilderList()

List of errors found in files.

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

Returns
TypeDescription
List<Builder>

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

getJobErrorsBuilder(int index)

public ImportError.Builder getJobErrorsBuilder(int index)

List of job level errors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportError.Builder

getJobErrorsBuilderList()

public List<ImportError.Builder> getJobErrorsBuilderList()

List of job level errors.

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

Returns
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ValidationReport other)

public ValidationReport.Builder mergeFrom(ValidationReport other)
Parameter
NameDescription
otherValidationReport
Returns
TypeDescription
ValidationReport.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ValidationReport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidationReport.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ValidationReport.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ValidationReport.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ValidationReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ValidationReport.Builder
Overrides

removeFileValidations(int index)

public ValidationReport.Builder removeFileValidations(int index)

List of errors found in files.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationReport.Builder

removeJobErrors(int index)

public ValidationReport.Builder removeJobErrors(int index)

List of job level errors.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ValidationReport.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ValidationReport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ValidationReport.Builder
Overrides

setFileValidations(int index, FileValidationReport value)

public ValidationReport.Builder setFileValidations(int index, FileValidationReport value)

List of errors found in files.

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

Parameters
NameDescription
indexint
valueFileValidationReport
Returns
TypeDescription
ValidationReport.Builder

setFileValidations(int index, FileValidationReport.Builder builderForValue)

public ValidationReport.Builder setFileValidations(int index, FileValidationReport.Builder builderForValue)

List of errors found in files.

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

Parameters
NameDescription
indexint
builderForValueFileValidationReport.Builder
Returns
TypeDescription
ValidationReport.Builder

setJobErrors(int index, ImportError value)

public ValidationReport.Builder setJobErrors(int index, ImportError value)

List of job level errors.

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

Parameters
NameDescription
indexint
valueImportError
Returns
TypeDescription
ValidationReport.Builder

setJobErrors(int index, ImportError.Builder builderForValue)

public ValidationReport.Builder setJobErrors(int index, ImportError.Builder builderForValue)

List of job level errors.

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

Parameters
NameDescription
indexint
builderForValueImportError.Builder
Returns
TypeDescription
ValidationReport.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ValidationReport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ValidationReport.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ValidationReport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ValidationReport.Builder
Overrides