Package com.google.cloud.aiplatform.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()The number of RagFiles that had failed while importing into the RagCorpus.The number of RagFiles that had been imported into the RagCorpus.The BigQuery table into which the partial failures were written.The Google Cloud Storage path into which the partial failures were written.The number of RagFiles that was skipped while importing into the RagCorpus.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe number of RagFiles that had failed while importing into the RagCorpus.longThe number of RagFiles that had been imported into the RagCorpus.The BigQuery table into which the partial failures were written.com.google.protobuf.ByteStringThe BigQuery table into which the partial failures were written.The Google Cloud Storage path into which the partial failures were written.com.google.protobuf.ByteStringThe Google Cloud Storage path into which the partial failures were written.longThe number of RagFiles that was skipped while importing into the RagCorpus.booleanThe BigQuery table into which the partial failures were written.booleanThe Google Cloud Storage path into which the partial failures were written.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ImportRagFilesResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setFailedRagFilesCount(long value) The number of RagFiles that had failed while importing into the RagCorpus.setImportedRagFilesCount(long value) The number of RagFiles that had been imported into the RagCorpus.The BigQuery table into which the partial failures were written.setPartialFailuresBigqueryTableBytes(com.google.protobuf.ByteString value) The BigQuery table into which the partial failures were written.setPartialFailuresGcsPath(String value) The Google Cloud Storage path into which the partial failures were written.setPartialFailuresGcsPathBytes(com.google.protobuf.ByteString value) The Google Cloud Storage path into which the partial failures were written.setSkippedRagFilesCount(long value) The number of RagFiles that was skipped while importing into the RagCorpus.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportRagFilesResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportRagFilesResponse.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.GeneratedMessage.Builder<ImportRagFilesResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportRagFilesResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportRagFilesResponse.Builder>- Throws:
IOException
-
getPartialFailureSinkCase
- Specified by:
getPartialFailureSinkCasein interfaceImportRagFilesResponseOrBuilder
-
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:
hasPartialFailuresGcsPathin interfaceImportRagFilesResponseOrBuilder- Returns:
- Whether the partialFailuresGcsPath field is set.
-
getPartialFailuresGcsPath
The Google Cloud Storage path into which the partial failures were written.
string partial_failures_gcs_path = 4;- Specified by:
getPartialFailuresGcsPathin interfaceImportRagFilesResponseOrBuilder- 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:
getPartialFailuresGcsPathBytesin interfaceImportRagFilesResponseOrBuilder- Returns:
- The bytes for partialFailuresGcsPath.
-
setPartialFailuresGcsPath
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
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:
hasPartialFailuresBigqueryTablein interfaceImportRagFilesResponseOrBuilder- Returns:
- Whether the partialFailuresBigqueryTable field is set.
-
getPartialFailuresBigqueryTable
The BigQuery table into which the partial failures were written.
string partial_failures_bigquery_table = 5;- Specified by:
getPartialFailuresBigqueryTablein interfaceImportRagFilesResponseOrBuilder- 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:
getPartialFailuresBigqueryTableBytesin interfaceImportRagFilesResponseOrBuilder- Returns:
- The bytes for partialFailuresBigqueryTable.
-
setPartialFailuresBigqueryTable
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
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:
getImportedRagFilesCountin interfaceImportRagFilesResponseOrBuilder- Returns:
- The importedRagFilesCount.
-
setImportedRagFilesCount
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
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:
getFailedRagFilesCountin interfaceImportRagFilesResponseOrBuilder- Returns:
- The failedRagFilesCount.
-
setFailedRagFilesCount
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
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:
getSkippedRagFilesCountin interfaceImportRagFilesResponseOrBuilder- Returns:
- The skippedRagFilesCount.
-
setSkippedRagFilesCount
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
The number of RagFiles that was skipped while importing into the RagCorpus.
int64 skipped_rag_files_count = 3;- Returns:
- This builder for chaining.
-