Class ImportRagFilesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportRagFilesResponse.Builder>
com.google.cloud.aiplatform.v1.ImportRagFilesResponse.Builder
All Implemented Interfaces:
ImportRagFilesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ImportRagFilesResponse

public static final class ImportRagFilesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<ImportRagFilesResponse.Builder> implements ImportRagFilesResponseOrBuilder
 Response message for
 [VertexRagDataService.ImportRagFiles][google.cloud.aiplatform.v1.VertexRagDataService.ImportRagFiles].
 
Protobuf type google.cloud.aiplatform.v1.ImportRagFilesResponse
  • 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.Builder<ImportRagFilesResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ImportRagFilesResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ImportRagFilesResponse.Builder>
    • getDefaultInstanceForType

      public ImportRagFilesResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ImportRagFilesResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ImportRagFilesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ImportRagFilesResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportRagFilesResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ImportRagFilesResponse.Builder>
    • mergeFrom

      public ImportRagFilesResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportRagFilesResponse.Builder>
      Throws:
      IOException
    • getPartialFailureSinkCase

      public ImportRagFilesResponse.PartialFailureSinkCase getPartialFailureSinkCase()
      Specified by:
      getPartialFailureSinkCase in interface ImportRagFilesResponseOrBuilder
    • clearPartialFailureSink

      public ImportRagFilesResponse.Builder clearPartialFailureSink()
    • hasPartialFailuresGcsPath

      public boolean hasPartialFailuresGcsPath()
       The Google Cloud Storage path into which the partial failures were
       written.
       
      string partial_failures_gcs_path = 4;
      Specified by:
      hasPartialFailuresGcsPath in interface ImportRagFilesResponseOrBuilder
      Returns:
      Whether the partialFailuresGcsPath field is set.
    • getPartialFailuresGcsPath

      public String getPartialFailuresGcsPath()
       The Google Cloud Storage path into which the partial failures were
       written.
       
      string partial_failures_gcs_path = 4;
      Specified by:
      getPartialFailuresGcsPath in interface ImportRagFilesResponseOrBuilder
      Returns:
      The partialFailuresGcsPath.
    • getPartialFailuresGcsPathBytes

      public com.google.protobuf.ByteString getPartialFailuresGcsPathBytes()
       The Google Cloud Storage path into which the partial failures were
       written.
       
      string partial_failures_gcs_path = 4;
      Specified by:
      getPartialFailuresGcsPathBytes in interface ImportRagFilesResponseOrBuilder
      Returns:
      The bytes for partialFailuresGcsPath.
    • setPartialFailuresGcsPath

      public ImportRagFilesResponse.Builder setPartialFailuresGcsPath(String value)
       The Google Cloud Storage path into which the partial failures were
       written.
       
      string partial_failures_gcs_path = 4;
      Parameters:
      value - The partialFailuresGcsPath to set.
      Returns:
      This builder for chaining.
    • clearPartialFailuresGcsPath

      public ImportRagFilesResponse.Builder clearPartialFailuresGcsPath()
       The Google Cloud Storage path into which the partial failures were
       written.
       
      string partial_failures_gcs_path = 4;
      Returns:
      This builder for chaining.
    • setPartialFailuresGcsPathBytes

      public ImportRagFilesResponse.Builder setPartialFailuresGcsPathBytes(com.google.protobuf.ByteString value)
       The Google Cloud Storage path into which the partial failures were
       written.
       
      string partial_failures_gcs_path = 4;
      Parameters:
      value - The bytes for partialFailuresGcsPath to set.
      Returns:
      This builder for chaining.
    • hasPartialFailuresBigqueryTable

      public boolean hasPartialFailuresBigqueryTable()
       The BigQuery table into which the partial failures were written.
       
      string partial_failures_bigquery_table = 5;
      Specified by:
      hasPartialFailuresBigqueryTable in interface ImportRagFilesResponseOrBuilder
      Returns:
      Whether the partialFailuresBigqueryTable field is set.
    • getPartialFailuresBigqueryTable

      public String getPartialFailuresBigqueryTable()
       The BigQuery table into which the partial failures were written.
       
      string partial_failures_bigquery_table = 5;
      Specified by:
      getPartialFailuresBigqueryTable in interface ImportRagFilesResponseOrBuilder
      Returns:
      The partialFailuresBigqueryTable.
    • getPartialFailuresBigqueryTableBytes

      public com.google.protobuf.ByteString getPartialFailuresBigqueryTableBytes()
       The BigQuery table into which the partial failures were written.
       
      string partial_failures_bigquery_table = 5;
      Specified by:
      getPartialFailuresBigqueryTableBytes in interface ImportRagFilesResponseOrBuilder
      Returns:
      The bytes for partialFailuresBigqueryTable.
    • setPartialFailuresBigqueryTable

      public ImportRagFilesResponse.Builder setPartialFailuresBigqueryTable(String value)
       The BigQuery table into which the partial failures were written.
       
      string partial_failures_bigquery_table = 5;
      Parameters:
      value - The partialFailuresBigqueryTable to set.
      Returns:
      This builder for chaining.
    • clearPartialFailuresBigqueryTable

      public ImportRagFilesResponse.Builder clearPartialFailuresBigqueryTable()
       The BigQuery table into which the partial failures were written.
       
      string partial_failures_bigquery_table = 5;
      Returns:
      This builder for chaining.
    • setPartialFailuresBigqueryTableBytes

      public ImportRagFilesResponse.Builder setPartialFailuresBigqueryTableBytes(com.google.protobuf.ByteString value)
       The BigQuery table into which the partial failures were written.
       
      string partial_failures_bigquery_table = 5;
      Parameters:
      value - The bytes for partialFailuresBigqueryTable to set.
      Returns:
      This builder for chaining.
    • getImportedRagFilesCount

      public long getImportedRagFilesCount()
       The number of RagFiles that had been imported into the RagCorpus.
       
      int64 imported_rag_files_count = 1;
      Specified by:
      getImportedRagFilesCount in interface ImportRagFilesResponseOrBuilder
      Returns:
      The importedRagFilesCount.
    • setImportedRagFilesCount

      public ImportRagFilesResponse.Builder setImportedRagFilesCount(long value)
       The number of RagFiles that had been imported into the RagCorpus.
       
      int64 imported_rag_files_count = 1;
      Parameters:
      value - The importedRagFilesCount to set.
      Returns:
      This builder for chaining.
    • clearImportedRagFilesCount

      public ImportRagFilesResponse.Builder clearImportedRagFilesCount()
       The number of RagFiles that had been imported into the RagCorpus.
       
      int64 imported_rag_files_count = 1;
      Returns:
      This builder for chaining.
    • getFailedRagFilesCount

      public long getFailedRagFilesCount()
       The number of RagFiles that had failed while importing into the RagCorpus.
       
      int64 failed_rag_files_count = 2;
      Specified by:
      getFailedRagFilesCount in interface ImportRagFilesResponseOrBuilder
      Returns:
      The failedRagFilesCount.
    • setFailedRagFilesCount

      public ImportRagFilesResponse.Builder setFailedRagFilesCount(long value)
       The number of RagFiles that had failed while importing into the RagCorpus.
       
      int64 failed_rag_files_count = 2;
      Parameters:
      value - The failedRagFilesCount to set.
      Returns:
      This builder for chaining.
    • clearFailedRagFilesCount

      public ImportRagFilesResponse.Builder clearFailedRagFilesCount()
       The number of RagFiles that had failed while importing into the RagCorpus.
       
      int64 failed_rag_files_count = 2;
      Returns:
      This builder for chaining.
    • getSkippedRagFilesCount

      public long getSkippedRagFilesCount()
       The number of RagFiles that was skipped while importing into the RagCorpus.
       
      int64 skipped_rag_files_count = 3;
      Specified by:
      getSkippedRagFilesCount in interface ImportRagFilesResponseOrBuilder
      Returns:
      The skippedRagFilesCount.
    • setSkippedRagFilesCount

      public ImportRagFilesResponse.Builder setSkippedRagFilesCount(long value)
       The number of RagFiles that was skipped while importing into the RagCorpus.
       
      int64 skipped_rag_files_count = 3;
      Parameters:
      value - The skippedRagFilesCount to set.
      Returns:
      This builder for chaining.
    • clearSkippedRagFilesCount

      public ImportRagFilesResponse.Builder clearSkippedRagFilesCount()
       The number of RagFiles that was skipped while importing into the RagCorpus.
       
      int64 skipped_rag_files_count = 3;
      Returns:
      This builder for chaining.