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.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(int index, ImportError value)
List of file level errors.FileValidationReport.Builder
addFileErrors(int index, ImportError.Builder builderForValue)
List of file level errors.FileValidationReport.Builder
addFileErrors(ImportError value)
List of file level errors.FileValidationReport.Builder
addFileErrors(ImportError.Builder builderForValue)
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(int index, 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(ImportRowError value)
Partial list of rows that encountered validation error.FileValidationReport.Builder
addRowErrors(ImportRowError.Builder builderForValue)
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(FileValidationReport other)
FileValidationReport.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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 value)
List of file level errors.FileValidationReport.Builder
setFileErrors(int index, ImportError.Builder builderForValue)
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 value)
Partial list of rows that encountered validation error.FileValidationReport.Builder
setRowErrors(int index, ImportRowError.Builder builderForValue)
Partial list of rows that encountered validation error.FileValidationReport.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
clear
public FileValidationReport.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
getDefaultInstanceForType
public FileValidationReport getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public FileValidationReport build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FileValidationReport buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FileValidationReport.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
setField
public FileValidationReport.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
clearField
public FileValidationReport.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
clearOneof
public FileValidationReport.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
setRepeatedField
public FileValidationReport.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
addRepeatedField
public FileValidationReport.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
mergeFrom
public FileValidationReport.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FileValidationReport.Builder>
-
mergeFrom
public FileValidationReport.Builder mergeFrom(FileValidationReport other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<FileValidationReport.Builder>
- Throws:
IOException
-
getFileName
public String getFileName()
The name of the file.
string file_name = 1;
- Specified by:
getFileName
in interfaceFileValidationReportOrBuilder
- Returns:
- The fileName.
-
getFileNameBytes
public com.google.protobuf.ByteString getFileNameBytes()
The name of the file.
string file_name = 1;
- Specified by:
getFileNameBytes
in 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:
getRowErrorsList
in interfaceFileValidationReportOrBuilder
-
getRowErrorsCount
public int getRowErrorsCount()
Partial list of rows that encountered validation error.
repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
- Specified by:
getRowErrorsCount
in 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:
getRowErrors
in 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:
getRowErrorsOrBuilder
in 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:
getRowErrorsOrBuilderList
in 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:
getPartialReport
in 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:
getFileErrorsList
in interfaceFileValidationReportOrBuilder
-
getFileErrorsCount
public int getFileErrorsCount()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
- Specified by:
getFileErrorsCount
in interfaceFileValidationReportOrBuilder
-
getFileErrors
public ImportError getFileErrors(int index)
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
- Specified by:
getFileErrors
in 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:
getFileErrorsOrBuilder
in interfaceFileValidationReportOrBuilder
-
getFileErrorsOrBuilderList
public List<? extends ImportErrorOrBuilder> getFileErrorsOrBuilderList()
List of file level errors.
repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
- Specified by:
getFileErrorsOrBuilderList
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
mergeUnknownFields
public final FileValidationReport.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<FileValidationReport.Builder>
-
-