- 0.60.0 (latest)
 - 0.58.0
 - 0.57.0
 - 0.56.0
 - 0.55.0
 - 0.54.0
 - 0.52.0
 - 0.50.0
 - 0.49.0
 - 0.46.0
 - 0.45.0
 - 0.44.0
 - 0.42.0
 - 0.41.0
 - 0.40.0
 - 0.39.0
 - 0.38.0
 - 0.37.0
 - 0.36.0
 - 0.35.0
 - 0.34.0
 - 0.33.0
 - 0.31.0
 - 0.30.0
 - 0.29.0
 - 0.28.0
 - 0.27.0
 - 0.26.0
 - 0.25.0
 - 0.24.0
 - 0.23.0
 - 0.22.0
 - 0.21.0
 - 0.19.0
 - 0.18.0
 - 0.17.0
 - 0.16.0
 - 0.15.0
 - 0.14.0
 - 0.13.0
 - 0.12.0
 - 0.11.0
 - 0.10.0
 - 0.9.0
 - 0.6.0
 - 0.5.0
 - 0.4.0
 - 0.3.0
 - 0.2.0
 - 0.1.0
 
public static final class FileValidationReport.Builder extends GeneratedMessageV3.Builder<FileValidationReport.Builder> implements FileValidationReportOrBuilderA resource that aggregates the validation errors found in an import job file.
 Protobuf type google.cloud.migrationcenter.v1.FileValidationReport
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FileValidationReport.BuilderImplements
FileValidationReportOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllFileErrors(Iterable<? extends ImportError> values)
public FileValidationReport.Builder addAllFileErrors(Iterable<? extends ImportError> values)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.migrationcenter.v1.ImportError> | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
addAllRowErrors(Iterable<? extends ImportRowError> values)
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;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.migrationcenter.v1.ImportRowError> | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
addFileErrors(ImportError value)
public FileValidationReport.Builder addFileErrors(ImportError value)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ImportError | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
addFileErrors(ImportError.Builder builderForValue)
public FileValidationReport.Builder addFileErrors(ImportError.Builder builderForValue)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        ImportError.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
addFileErrors(int index, ImportError value)
public FileValidationReport.Builder addFileErrors(int index, ImportError value)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        ImportError | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
addFileErrors(int index, ImportError.Builder builderForValue)
public FileValidationReport.Builder addFileErrors(int index, ImportError.Builder builderForValue)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        ImportError.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
addFileErrorsBuilder()
public ImportError.Builder addFileErrorsBuilder()List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Returns | |
|---|---|
| Type | Description | 
ImportError.Builder | 
        |
addFileErrorsBuilder(int index)
public ImportError.Builder addFileErrorsBuilder(int index)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
ImportError.Builder | 
        |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FileValidationReport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
addRowErrors(ImportRowError value)
public FileValidationReport.Builder addRowErrors(ImportRowError value)Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ImportRowError | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
addRowErrors(ImportRowError.Builder builderForValue)
public FileValidationReport.Builder addRowErrors(ImportRowError.Builder builderForValue)Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        ImportRowError.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
addRowErrors(int index, ImportRowError value)
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;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        ImportRowError | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
addRowErrors(int index, ImportRowError.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        ImportRowError.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
addRowErrorsBuilder()
public ImportRowError.Builder addRowErrorsBuilder()Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Returns | |
|---|---|
| Type | Description | 
ImportRowError.Builder | 
        |
addRowErrorsBuilder(int index)
public ImportRowError.Builder addRowErrorsBuilder(int index)Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
ImportRowError.Builder | 
        |
build()
public FileValidationReport build()| Returns | |
|---|---|
| Type | Description | 
FileValidationReport | 
        |
buildPartial()
public FileValidationReport buildPartial()| Returns | |
|---|---|
| Type | Description | 
FileValidationReport | 
        |
clear()
public FileValidationReport.Builder clear()| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public FileValidationReport.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
clearFileErrors()
public FileValidationReport.Builder clearFileErrors()List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
clearFileName()
public FileValidationReport.Builder clearFileName()The name of the file.
 string file_name = 1;
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public FileValidationReport.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
clearPartialReport()
public FileValidationReport.Builder clearPartialReport()Flag indicating that processing was aborted due to maximum number of errors.
 bool partial_report = 3;
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        This builder for chaining.  | 
      
clearRowErrors()
public FileValidationReport.Builder clearRowErrors()Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
clone()
public FileValidationReport.Builder clone()| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
getDefaultInstanceForType()
public FileValidationReport getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
FileValidationReport | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getFileErrors(int index)
public ImportError getFileErrors(int index)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
ImportError | 
        |
getFileErrorsBuilder(int index)
public ImportError.Builder getFileErrorsBuilder(int index)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
ImportError.Builder | 
        |
getFileErrorsBuilderList()
public List<ImportError.Builder> getFileErrorsBuilderList()List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Returns | |
|---|---|
| Type | Description | 
List<Builder> | 
        |
getFileErrorsCount()
public int getFileErrorsCount()List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getFileErrorsList()
public List<ImportError> getFileErrorsList()List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Returns | |
|---|---|
| Type | Description | 
List<ImportError> | 
        |
getFileErrorsOrBuilder(int index)
public ImportErrorOrBuilder getFileErrorsOrBuilder(int index)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
ImportErrorOrBuilder | 
        |
getFileErrorsOrBuilderList()
public List<? extends ImportErrorOrBuilder> getFileErrorsOrBuilderList()List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Returns | |
|---|---|
| Type | Description | 
List<? extends com.google.cloud.migrationcenter.v1.ImportErrorOrBuilder> | 
        |
getFileName()
public String getFileName()The name of the file.
 string file_name = 1;
| Returns | |
|---|---|
| Type | Description | 
String | 
        The fileName.  | 
      
getFileNameBytes()
public ByteString getFileNameBytes()The name of the file.
 string file_name = 1;
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for fileName.  | 
      
getPartialReport()
public boolean getPartialReport()Flag indicating that processing was aborted due to maximum number of errors.
 bool partial_report = 3;
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        The partialReport.  | 
      
getRowErrors(int index)
public ImportRowError getRowErrors(int index)Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
ImportRowError | 
        |
getRowErrorsBuilder(int index)
public ImportRowError.Builder getRowErrorsBuilder(int index)Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
ImportRowError.Builder | 
        |
getRowErrorsBuilderList()
public List<ImportRowError.Builder> getRowErrorsBuilderList()Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Returns | |
|---|---|
| Type | Description | 
List<Builder> | 
        |
getRowErrorsCount()
public int getRowErrorsCount()Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Returns | |
|---|---|
| Type | Description | 
int | 
        |
getRowErrorsList()
public List<ImportRowError> getRowErrorsList()Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Returns | |
|---|---|
| Type | Description | 
List<ImportRowError> | 
        |
getRowErrorsOrBuilder(int index)
public ImportRowErrorOrBuilder getRowErrorsOrBuilder(int index)Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
ImportRowErrorOrBuilder | 
        |
getRowErrorsOrBuilderList()
public List<? extends ImportRowErrorOrBuilder> getRowErrorsOrBuilderList()Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Returns | |
|---|---|
| Type | Description | 
List<? extends com.google.cloud.migrationcenter.v1.ImportRowErrorOrBuilder> | 
        |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(FileValidationReport other)
public FileValidationReport.Builder mergeFrom(FileValidationReport other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        FileValidationReport | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FileValidationReport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public FileValidationReport.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FileValidationReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
removeFileErrors(int index)
public FileValidationReport.Builder removeFileErrors(int index)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
removeRowErrors(int index)
public FileValidationReport.Builder removeRowErrors(int index)Partial list of rows that encountered validation error.
 repeated .google.cloud.migrationcenter.v1.ImportRowError row_errors = 2;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        int | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public FileValidationReport.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
setFileErrors(int index, ImportError value)
public FileValidationReport.Builder setFileErrors(int index, ImportError value)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        ImportError | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
setFileErrors(int index, ImportError.Builder builderForValue)
public FileValidationReport.Builder setFileErrors(int index, ImportError.Builder builderForValue)List of file level errors.
 repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        ImportError.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
setFileName(String value)
public FileValidationReport.Builder setFileName(String value)The name of the file.
 string file_name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe fileName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        This builder for chaining.  | 
      
setFileNameBytes(ByteString value)
public FileValidationReport.Builder setFileNameBytes(ByteString value)The name of the file.
 string file_name = 1;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for fileName to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        This builder for chaining.  | 
      
setPartialReport(boolean value)
public FileValidationReport.Builder setPartialReport(boolean value)Flag indicating that processing was aborted due to maximum number of errors.
 bool partial_report = 3;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        booleanThe partialReport to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FileValidationReport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
setRowErrors(int index, ImportRowError value)
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;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
value | 
        ImportRowError | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
setRowErrors(int index, ImportRowError.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        int | 
      
builderForValue | 
        ImportRowError.Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final FileValidationReport.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
FileValidationReport.Builder | 
        |