Class FileValidationReport

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.migrationcenter.v1.FileValidationReport
All Implemented Interfaces:
FileValidationReportOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class FileValidationReport extends com.google.protobuf.GeneratedMessage implements FileValidationReportOrBuilder
 A resource that aggregates the validation errors found in an import job file.
 
Protobuf type google.cloud.migrationcenter.v1.FileValidationReport
See Also:
  • Field Details

    • FILE_NAME_FIELD_NUMBER

      public static final int FILE_NAME_FIELD_NUMBER
      See Also:
    • ROW_ERRORS_FIELD_NUMBER

      public static final int ROW_ERRORS_FIELD_NUMBER
      See Also:
    • PARTIAL_REPORT_FIELD_NUMBER

      public static final int PARTIAL_REPORT_FIELD_NUMBER
      See Also:
    • FILE_ERRORS_FIELD_NUMBER

      public static final int FILE_ERRORS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getFileName

      public String getFileName()
       The name of the file.
       
      string file_name = 1;
      Specified by:
      getFileName in interface FileValidationReportOrBuilder
      Returns:
      The fileName.
    • getFileNameBytes

      public com.google.protobuf.ByteString getFileNameBytes()
       The name of the file.
       
      string file_name = 1;
      Specified by:
      getFileNameBytes in interface FileValidationReportOrBuilder
      Returns:
      The bytes for fileName.
    • 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 interface FileValidationReportOrBuilder
    • 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 interface FileValidationReportOrBuilder
    • 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 interface FileValidationReportOrBuilder
    • 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 interface FileValidationReportOrBuilder
    • 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 interface FileValidationReportOrBuilder
    • getPartialReport

      public boolean getPartialReport()
       Flag indicating that processing was aborted due to maximum number of
       errors.
       
      bool partial_report = 3;
      Specified by:
      getPartialReport in interface FileValidationReportOrBuilder
      Returns:
      The partialReport.
    • getFileErrorsList

      public List<ImportError> getFileErrorsList()
       List of file level errors.
       
      repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
      Specified by:
      getFileErrorsList in interface FileValidationReportOrBuilder
    • getFileErrorsOrBuilderList

      public List<? extends ImportErrorOrBuilder> getFileErrorsOrBuilderList()
       List of file level errors.
       
      repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
      Specified by:
      getFileErrorsOrBuilderList in interface FileValidationReportOrBuilder
    • getFileErrorsCount

      public int getFileErrorsCount()
       List of file level errors.
       
      repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
      Specified by:
      getFileErrorsCount in interface FileValidationReportOrBuilder
    • getFileErrors

      public ImportError getFileErrors(int index)
       List of file level errors.
       
      repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
      Specified by:
      getFileErrors in interface FileValidationReportOrBuilder
    • getFileErrorsOrBuilder

      public ImportErrorOrBuilder getFileErrorsOrBuilder(int index)
       List of file level errors.
       
      repeated .google.cloud.migrationcenter.v1.ImportError file_errors = 4;
      Specified by:
      getFileErrorsOrBuilder in interface FileValidationReportOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static FileValidationReport parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileValidationReport parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileValidationReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileValidationReport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileValidationReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileValidationReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static FileValidationReport parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FileValidationReport parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FileValidationReport parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static FileValidationReport parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FileValidationReport parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static FileValidationReport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public FileValidationReport.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static FileValidationReport.Builder newBuilder()
    • newBuilder

      public static FileValidationReport.Builder newBuilder(FileValidationReport prototype)
    • toBuilder

      public FileValidationReport.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected FileValidationReport.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static FileValidationReport getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<FileValidationReport> parser()
    • getParserForType

      public com.google.protobuf.Parser<FileValidationReport> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public FileValidationReport getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder