public static final class FileValidationReport.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder> implements FileValidationReportOrBuilder
A resource that aggregates the validation errors found in an import job file.Protobuf type
google.cloud.migrationcenter.v1.FileValidationReport| Modifier and Type | Method and Description |
|---|---|
FileValidationReport.Builder |
addAllFileErrors(Iterable<? extends ImportError> values)
List of file level errors.
|
FileValidationReport.Builder |
addAllRowErrors(Iterable<? extends ImportRowError> values)
Partial list of rows that encountered validation error.
|
FileValidationReport.Builder |
addFileErrors(ImportError.Builder builderForValue)
List of file level errors.
|
FileValidationReport.Builder |
addFileErrors(ImportError value)
List of file level errors.
|
FileValidationReport.Builder |
addFileErrors(int index,
ImportError.Builder builderForValue)
List of file level errors.
|
FileValidationReport.Builder |
addFileErrors(int index,
ImportError value)
List of file level errors.
|
ImportError.Builder |
addFileErrorsBuilder()
List of file level errors.
|
ImportError.Builder |
addFileErrorsBuilder(int index)
List of file level errors.
|
FileValidationReport.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FileValidationReport.Builder |
addRowErrors(ImportRowError.Builder builderForValue)
Partial list of rows that encountered validation error.
|
FileValidationReport.Builder |
addRowErrors(ImportRowError value)
Partial list of rows that encountered validation error.
|
FileValidationReport.Builder |
addRowErrors(int index,
ImportRowError.Builder builderForValue)
Partial list of rows that encountered validation error.
|
FileValidationReport.Builder |
addRowErrors(int index,
ImportRowError value)
Partial list of rows that encountered validation error.
|
ImportRowError.Builder |
addRowErrorsBuilder()
Partial list of rows that encountered validation error.
|
ImportRowError.Builder |
addRowErrorsBuilder(int index)
Partial list of rows that encountered validation error.
|
FileValidationReport |
build() |
FileValidationReport |
buildPartial() |
FileValidationReport.Builder |
clear() |
FileValidationReport.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FileValidationReport.Builder |
clearFileErrors()
List of file level errors.
|
FileValidationReport.Builder |
clearFileName()
The name of the file.
|
FileValidationReport.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FileValidationReport.Builder |
clearPartialReport()
Flag indicating that processing was aborted due to maximum number of
errors.
|
FileValidationReport.Builder |
clearRowErrors()
Partial list of rows that encountered validation error.
|
FileValidationReport.Builder |
clone() |
FileValidationReport |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ImportError |
getFileErrors(int index)
List of file level errors.
|
ImportError.Builder |
getFileErrorsBuilder(int index)
List of file level errors.
|
List<ImportError.Builder> |
getFileErrorsBuilderList()
List of file level errors.
|
int |
getFileErrorsCount()
List of file level errors.
|
List<ImportError> |
getFileErrorsList()
List of file level errors.
|
ImportErrorOrBuilder |
getFileErrorsOrBuilder(int index)
List of file level errors.
|
List<? extends ImportErrorOrBuilder> |
getFileErrorsOrBuilderList()
List of file level errors.
|
String |
getFileName()
The name of the file.
|
com.google.protobuf.ByteString |
getFileNameBytes()
The name of the file.
|
boolean |
getPartialReport()
Flag indicating that processing was aborted due to maximum number of
errors.
|
ImportRowError |
getRowErrors(int index)
Partial list of rows that encountered validation error.
|
ImportRowError.Builder |
getRowErrorsBuilder(int index)
Partial list of rows that encountered validation error.
|
List<ImportRowError.Builder> |
getRowErrorsBuilderList()
Partial list of rows that encountered validation error.
|
int |
getRowErrorsCount()
Partial list of rows that encountered validation error.
|
List<ImportRowError> |
getRowErrorsList()
Partial list of rows that encountered validation error.
|
ImportRowErrorOrBuilder |
getRowErrorsOrBuilder(int index)
Partial list of rows that encountered validation error.
|
List<? extends ImportRowErrorOrBuilder> |
getRowErrorsOrBuilderList()
Partial list of rows that encountered validation error.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FileValidationReport.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FileValidationReport.Builder |
mergeFrom(FileValidationReport other) |
FileValidationReport.Builder |
mergeFrom(com.google.protobuf.Message other) |
FileValidationReport.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FileValidationReport.Builder |
removeFileErrors(int index)
List of file level errors.
|
FileValidationReport.Builder |
removeRowErrors(int index)
Partial list of rows that encountered validation error.
|
FileValidationReport.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FileValidationReport.Builder |
setFileErrors(int index,
ImportError.Builder builderForValue)
List of file level errors.
|
FileValidationReport.Builder |
setFileErrors(int index,
ImportError value)
List of file level errors.
|
FileValidationReport.Builder |
setFileName(String value)
The name of the file.
|
FileValidationReport.Builder |
setFileNameBytes(com.google.protobuf.ByteString value)
The name of the file.
|
FileValidationReport.Builder |
setPartialReport(boolean value)
Flag indicating that processing was aborted due to maximum number of
errors.
|
FileValidationReport.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FileValidationReport.Builder |
setRowErrors(int index,
ImportRowError.Builder builderForValue)
Partial list of rows that encountered validation error.
|
FileValidationReport.Builder |
setRowErrors(int index,
ImportRowError value)
Partial list of rows that encountered validation error.
|
FileValidationReport.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>public FileValidationReport.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>public FileValidationReport getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FileValidationReport build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FileValidationReport buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FileValidationReport.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>public FileValidationReport.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>public FileValidationReport.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>public FileValidationReport.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>public FileValidationReport.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>public FileValidationReport.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>public FileValidationReport.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FileValidationReport.Builder>public FileValidationReport.Builder mergeFrom(FileValidationReport other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>public FileValidationReport.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FileValidationReport.Builder>IOExceptionpublic String getFileName()
The name of the file.
string file_name = 1;getFileName in interface FileValidationReportOrBuilderpublic com.google.protobuf.ByteString getFileNameBytes()
The name of the file.
string file_name = 1;getFileNameBytes in interface FileValidationReportOrBuilderpublic FileValidationReport.Builder setFileName(String value)
The name of the file.
string file_name = 1;value - The fileName to set.public FileValidationReport.Builder clearFileName()
The name of the file.
string file_name = 1;public FileValidationReport.Builder setFileNameBytes(com.google.protobuf.ByteString value)
The name of the file.
string file_name = 1;value - The bytes for fileName to set.public List<ImportRowError> getRowErrorsList()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;getRowErrorsList in interface FileValidationReportOrBuilderpublic int getRowErrorsCount()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;getRowErrorsCount in interface FileValidationReportOrBuilderpublic ImportRowError getRowErrors(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;getRowErrors in interface FileValidationReportOrBuilderpublic FileValidationReport.Builder setRowErrors(int index, ImportRowError value)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public FileValidationReport.Builder setRowErrors(int index, ImportRowError.Builder builderForValue)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public FileValidationReport.Builder addRowErrors(ImportRowError value)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public FileValidationReport.Builder addRowErrors(int index, ImportRowError value)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public FileValidationReport.Builder addRowErrors(ImportRowError.Builder builderForValue)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public FileValidationReport.Builder addRowErrors(int index, ImportRowError.Builder builderForValue)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public FileValidationReport.Builder addAllRowErrors(Iterable<? extends ImportRowError> values)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public FileValidationReport.Builder clearRowErrors()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public FileValidationReport.Builder removeRowErrors(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public ImportRowError.Builder getRowErrorsBuilder(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public ImportRowErrorOrBuilder getRowErrorsOrBuilder(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;getRowErrorsOrBuilder in interface FileValidationReportOrBuilderpublic List<? extends ImportRowErrorOrBuilder> getRowErrorsOrBuilderList()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;getRowErrorsOrBuilderList in interface FileValidationReportOrBuilderpublic ImportRowError.Builder addRowErrorsBuilder()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public ImportRowError.Builder addRowErrorsBuilder(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public List<ImportRowError.Builder> getRowErrorsBuilderList()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;public boolean getPartialReport()
Flag indicating that processing was aborted due to maximum number of errors.
bool partial_report = 3;getPartialReport in interface FileValidationReportOrBuilderpublic FileValidationReport.Builder setPartialReport(boolean value)
Flag indicating that processing was aborted due to maximum number of errors.
bool partial_report = 3;value - The partialReport to set.public FileValidationReport.Builder clearPartialReport()
Flag indicating that processing was aborted due to maximum number of errors.
bool partial_report = 3;public List<ImportError> getFileErrorsList()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;getFileErrorsList in interface FileValidationReportOrBuilderpublic int getFileErrorsCount()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;getFileErrorsCount in interface FileValidationReportOrBuilderpublic ImportError getFileErrors(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;getFileErrors in interface FileValidationReportOrBuilderpublic FileValidationReport.Builder setFileErrors(int index, ImportError value)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public FileValidationReport.Builder setFileErrors(int index, ImportError.Builder builderForValue)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public FileValidationReport.Builder addFileErrors(ImportError value)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public FileValidationReport.Builder addFileErrors(int index, ImportError value)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public FileValidationReport.Builder addFileErrors(ImportError.Builder builderForValue)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public FileValidationReport.Builder addFileErrors(int index, ImportError.Builder builderForValue)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public FileValidationReport.Builder addAllFileErrors(Iterable<? extends ImportError> values)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public FileValidationReport.Builder clearFileErrors()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public FileValidationReport.Builder removeFileErrors(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public ImportError.Builder getFileErrorsBuilder(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public ImportErrorOrBuilder getFileErrorsOrBuilder(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;getFileErrorsOrBuilder in interface FileValidationReportOrBuilderpublic List<? extends ImportErrorOrBuilder> getFileErrorsOrBuilderList()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;getFileErrorsOrBuilderList in interface FileValidationReportOrBuilderpublic ImportError.Builder addFileErrorsBuilder()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public ImportError.Builder addFileErrorsBuilder(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public List<ImportError.Builder> getFileErrorsBuilderList()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;public final FileValidationReport.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>public final FileValidationReport.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>Copyright © 2024 Google LLC. All rights reserved.