Class ValidationReport.Builder (0.28.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.FileValidationReport>
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.ImportError>
Returns
Type Description
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
Name Description
value FileValidationReport
Returns
Type Description
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
Name Description
builderForValue FileValidationReport.Builder
Returns
Type Description
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
Name Description
index int
value FileValidationReport
Returns
Type Description
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
Name Description
index int
builderForValue FileValidationReport.Builder
Returns
Type Description
ValidationReport.Builder

addFileValidationsBuilder()

public FileValidationReport.Builder addFileValidationsBuilder()

List of errors found in files.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value ImportError
Returns
Type Description
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
Name Description
builderForValue ImportError.Builder
Returns
Type Description
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
Name Description
index int
value ImportError
Returns
Type Description
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
Name Description
index int
builderForValue ImportError.Builder
Returns
Type Description
ValidationReport.Builder

addJobErrorsBuilder()

public ImportError.Builder addJobErrorsBuilder()

List of job level errors.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ImportError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ValidationReport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ValidationReport.Builder
Overrides

build()

public ValidationReport build()
Returns
Type Description
ValidationReport

buildPartial()

public ValidationReport buildPartial()
Returns
Type Description
ValidationReport

clear()

public ValidationReport.Builder clear()
Returns
Type Description
ValidationReport.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ValidationReport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ValidationReport.Builder
Overrides

clearFileValidations()

public ValidationReport.Builder clearFileValidations()

List of errors found in files.

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

Returns
Type Description
ValidationReport.Builder

clearJobErrors()

public ValidationReport.Builder clearJobErrors()

List of job level errors.

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

Returns
Type Description
ValidationReport.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ValidationReport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ValidationReport.Builder
Overrides

clone()

public ValidationReport.Builder clone()
Returns
Type Description
ValidationReport.Builder
Overrides

getDefaultInstanceForType()

public ValidationReport getDefaultInstanceForType()
Returns
Type Description
ValidationReport

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
FileValidationReport.Builder

getFileValidationsBuilderList()

public List<FileValidationReport.Builder> getFileValidationsBuilderList()

List of errors found in files.

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

Returns
Type Description
List<Builder>

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

getJobErrorsBuilder(int index)

public ImportError.Builder getJobErrorsBuilder(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.Builder

getJobErrorsBuilderList()

public List<ImportError.Builder> getJobErrorsBuilderList()

List of job level errors.

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

Returns
Type Description
List<Builder>

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ValidationReport other)

public ValidationReport.Builder mergeFrom(ValidationReport other)
Parameter
Name Description
other ValidationReport
Returns
Type Description
ValidationReport.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ValidationReport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidationReport.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ValidationReport.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ValidationReport.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ValidationReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ValidationReport.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ValidationReport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int
value FileValidationReport
Returns
Type Description
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
Name Description
index int
builderForValue FileValidationReport.Builder
Returns
Type Description
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
Name Description
index int
value ImportError
Returns
Type Description
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
Name Description
index int
builderForValue ImportError.Builder
Returns
Type Description
ValidationReport.Builder

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

public ValidationReport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ValidationReport.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ValidationReport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ValidationReport.Builder
Overrides