Class FileValidationReport.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
- com.google.cloud.migrationcenter.v1.FileValidationReport.Builder
-
- All Implemented Interfaces:
FileValidationReportOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FileValidationReport
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 typegoogle.cloud.migrationcenter.v1.FileValidationReport
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FileValidationReport.BuilderaddAllFileErrors(Iterable<? extends ImportError> values)List of file level errors.FileValidationReport.BuilderaddAllRowErrors(Iterable<? extends ImportRowError> values)Partial list of rows that encountered validation error.FileValidationReport.BuilderaddFileErrors(int index, ImportError value)List of file level errors.FileValidationReport.BuilderaddFileErrors(int index, ImportError.Builder builderForValue)List of file level errors.FileValidationReport.BuilderaddFileErrors(ImportError value)List of file level errors.FileValidationReport.BuilderaddFileErrors(ImportError.Builder builderForValue)List of file level errors.ImportError.BuilderaddFileErrorsBuilder()List of file level errors.ImportError.BuilderaddFileErrorsBuilder(int index)List of file level errors.FileValidationReport.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FileValidationReport.BuilderaddRowErrors(int index, ImportRowError value)Partial list of rows that encountered validation error.FileValidationReport.BuilderaddRowErrors(int index, ImportRowError.Builder builderForValue)Partial list of rows that encountered validation error.FileValidationReport.BuilderaddRowErrors(ImportRowError value)Partial list of rows that encountered validation error.FileValidationReport.BuilderaddRowErrors(ImportRowError.Builder builderForValue)Partial list of rows that encountered validation error.ImportRowError.BuilderaddRowErrorsBuilder()Partial list of rows that encountered validation error.ImportRowError.BuilderaddRowErrorsBuilder(int index)Partial list of rows that encountered validation error.FileValidationReportbuild()FileValidationReportbuildPartial()FileValidationReport.Builderclear()FileValidationReport.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FileValidationReport.BuilderclearFileErrors()List of file level errors.FileValidationReport.BuilderclearFileName()The name of the file.FileValidationReport.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FileValidationReport.BuilderclearPartialReport()Flag indicating that processing was aborted due to maximum number of errors.FileValidationReport.BuilderclearRowErrors()Partial list of rows that encountered validation error.FileValidationReport.Builderclone()FileValidationReportgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ImportErrorgetFileErrors(int index)List of file level errors.ImportError.BuildergetFileErrorsBuilder(int index)List of file level errors.List<ImportError.Builder>getFileErrorsBuilderList()List of file level errors.intgetFileErrorsCount()List of file level errors.List<ImportError>getFileErrorsList()List of file level errors.ImportErrorOrBuildergetFileErrorsOrBuilder(int index)List of file level errors.List<? extends ImportErrorOrBuilder>getFileErrorsOrBuilderList()List of file level errors.StringgetFileName()The name of the file.com.google.protobuf.ByteStringgetFileNameBytes()The name of the file.booleangetPartialReport()Flag indicating that processing was aborted due to maximum number of errors.ImportRowErrorgetRowErrors(int index)Partial list of rows that encountered validation error.ImportRowError.BuildergetRowErrorsBuilder(int index)Partial list of rows that encountered validation error.List<ImportRowError.Builder>getRowErrorsBuilderList()Partial list of rows that encountered validation error.intgetRowErrorsCount()Partial list of rows that encountered validation error.List<ImportRowError>getRowErrorsList()Partial list of rows that encountered validation error.ImportRowErrorOrBuildergetRowErrorsOrBuilder(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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FileValidationReport.BuildermergeFrom(FileValidationReport other)FileValidationReport.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FileValidationReport.BuildermergeFrom(com.google.protobuf.Message other)FileValidationReport.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FileValidationReport.BuilderremoveFileErrors(int index)List of file level errors.FileValidationReport.BuilderremoveRowErrors(int index)Partial list of rows that encountered validation error.FileValidationReport.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FileValidationReport.BuildersetFileErrors(int index, ImportError value)List of file level errors.FileValidationReport.BuildersetFileErrors(int index, ImportError.Builder builderForValue)List of file level errors.FileValidationReport.BuildersetFileName(String value)The name of the file.FileValidationReport.BuildersetFileNameBytes(com.google.protobuf.ByteString value)The name of the file.FileValidationReport.BuildersetPartialReport(boolean value)Flag indicating that processing was aborted due to maximum number of errors.FileValidationReport.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FileValidationReport.BuildersetRowErrors(int index, ImportRowError value)Partial list of rows that encountered validation error.FileValidationReport.BuildersetRowErrors(int index, ImportRowError.Builder builderForValue)Partial list of rows that encountered validation error.FileValidationReport.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
clear
public FileValidationReport.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
getDefaultInstanceForType
public FileValidationReport getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FileValidationReport build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FileValidationReport buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FileValidationReport.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
setField
public FileValidationReport.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
clearField
public FileValidationReport.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
clearOneof
public FileValidationReport.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
setRepeatedField
public FileValidationReport.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
addRepeatedField
public FileValidationReport.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
mergeFrom
public FileValidationReport.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FileValidationReport.Builder>
-
mergeFrom
public FileValidationReport.Builder mergeFrom(FileValidationReport other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
mergeFrom
public FileValidationReport.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FileValidationReport.Builder>- Throws:
IOException
-
getFileName
public String getFileName()
The name of the file.
string file_name = 1;- Specified by:
getFileNamein interfaceFileValidationReportOrBuilder- Returns:
- The fileName.
-
getFileNameBytes
public com.google.protobuf.ByteString getFileNameBytes()
The name of the file.
string file_name = 1;- Specified by:
getFileNameBytesin interfaceFileValidationReportOrBuilder- Returns:
- The bytes for fileName.
-
setFileName
public FileValidationReport.Builder setFileName(String value)
The name of the file.
string file_name = 1;- Parameters:
value- The fileName to set.- Returns:
- This builder for chaining.
-
clearFileName
public FileValidationReport.Builder clearFileName()
The name of the file.
string file_name = 1;- Returns:
- This builder for chaining.
-
setFileNameBytes
public FileValidationReport.Builder setFileNameBytes(com.google.protobuf.ByteString value)
The name of the file.
string file_name = 1;- Parameters:
value- The bytes for fileName to set.- Returns:
- This builder for chaining.
-
getRowErrorsList
public List<ImportRowError> getRowErrorsList()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;- Specified by:
getRowErrorsListin interfaceFileValidationReportOrBuilder
-
getRowErrorsCount
public int getRowErrorsCount()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;- Specified by:
getRowErrorsCountin interfaceFileValidationReportOrBuilder
-
getRowErrors
public ImportRowError getRowErrors(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;- Specified by:
getRowErrorsin interfaceFileValidationReportOrBuilder
-
setRowErrors
public FileValidationReport.Builder setRowErrors(int index, ImportRowError value)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
-
setRowErrors
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;
-
addRowErrors
public FileValidationReport.Builder addRowErrors(ImportRowError value)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
-
addRowErrors
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;
-
addRowErrors
public FileValidationReport.Builder addRowErrors(ImportRowError.Builder builderForValue)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
-
addRowErrors
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;
-
addAllRowErrors
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;
-
clearRowErrors
public FileValidationReport.Builder clearRowErrors()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
-
removeRowErrors
public FileValidationReport.Builder removeRowErrors(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
-
getRowErrorsBuilder
public ImportRowError.Builder getRowErrorsBuilder(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
-
getRowErrorsOrBuilder
public ImportRowErrorOrBuilder getRowErrorsOrBuilder(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;- Specified by:
getRowErrorsOrBuilderin interfaceFileValidationReportOrBuilder
-
getRowErrorsOrBuilderList
public List<? extends ImportRowErrorOrBuilder> getRowErrorsOrBuilderList()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;- Specified by:
getRowErrorsOrBuilderListin interfaceFileValidationReportOrBuilder
-
addRowErrorsBuilder
public ImportRowError.Builder addRowErrorsBuilder()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
-
addRowErrorsBuilder
public ImportRowError.Builder addRowErrorsBuilder(int index)
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
-
getRowErrorsBuilderList
public List<ImportRowError.Builder> getRowErrorsBuilderList()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
-
getPartialReport
public boolean getPartialReport()
Flag indicating that processing was aborted due to maximum number of errors.
bool partial_report = 3;- Specified by:
getPartialReportin interfaceFileValidationReportOrBuilder- Returns:
- The partialReport.
-
setPartialReport
public FileValidationReport.Builder setPartialReport(boolean value)
Flag indicating that processing was aborted due to maximum number of errors.
bool partial_report = 3;- Parameters:
value- The partialReport to set.- Returns:
- This builder for chaining.
-
clearPartialReport
public FileValidationReport.Builder clearPartialReport()
Flag indicating that processing was aborted due to maximum number of errors.
bool partial_report = 3;- Returns:
- This builder for chaining.
-
getFileErrorsList
public List<ImportError> getFileErrorsList()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;- Specified by:
getFileErrorsListin interfaceFileValidationReportOrBuilder
-
getFileErrorsCount
public int getFileErrorsCount()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;- Specified by:
getFileErrorsCountin interfaceFileValidationReportOrBuilder
-
getFileErrors
public ImportError getFileErrors(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;- Specified by:
getFileErrorsin interfaceFileValidationReportOrBuilder
-
setFileErrors
public FileValidationReport.Builder setFileErrors(int index, ImportError value)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
setFileErrors
public FileValidationReport.Builder setFileErrors(int index, ImportError.Builder builderForValue)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
addFileErrors
public FileValidationReport.Builder addFileErrors(ImportError value)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
addFileErrors
public FileValidationReport.Builder addFileErrors(int index, ImportError value)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
addFileErrors
public FileValidationReport.Builder addFileErrors(ImportError.Builder builderForValue)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
addFileErrors
public FileValidationReport.Builder addFileErrors(int index, ImportError.Builder builderForValue)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
addAllFileErrors
public FileValidationReport.Builder addAllFileErrors(Iterable<? extends ImportError> values)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
clearFileErrors
public FileValidationReport.Builder clearFileErrors()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
removeFileErrors
public FileValidationReport.Builder removeFileErrors(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
getFileErrorsBuilder
public ImportError.Builder getFileErrorsBuilder(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
getFileErrorsOrBuilder
public ImportErrorOrBuilder getFileErrorsOrBuilder(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;- Specified by:
getFileErrorsOrBuilderin interfaceFileValidationReportOrBuilder
-
getFileErrorsOrBuilderList
public List<? extends ImportErrorOrBuilder> getFileErrorsOrBuilderList()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;- Specified by:
getFileErrorsOrBuilderListin interfaceFileValidationReportOrBuilder
-
addFileErrorsBuilder
public ImportError.Builder addFileErrorsBuilder()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
addFileErrorsBuilder
public ImportError.Builder addFileErrorsBuilder(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
getFileErrorsBuilderList
public List<ImportError.Builder> getFileErrorsBuilderList()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
-
setUnknownFields
public final FileValidationReport.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
mergeUnknownFields
public final FileValidationReport.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
-