Class ImportRagFilesResponse.Builder (3.53.0)

public static final class ImportRagFilesResponse.Builder extends GeneratedMessageV3.Builder<ImportRagFilesResponse.Builder> implements ImportRagFilesResponseOrBuilder

Response message for VertexRagDataService.ImportRagFiles.

Protobuf type google.cloud.aiplatform.v1beta1.ImportRagFilesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportRagFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportRagFilesResponse.Builder
Overrides

build()

public ImportRagFilesResponse build()
Returns
Type Description
ImportRagFilesResponse

buildPartial()

public ImportRagFilesResponse buildPartial()
Returns
Type Description
ImportRagFilesResponse

clear()

public ImportRagFilesResponse.Builder clear()
Returns
Type Description
ImportRagFilesResponse.Builder
Overrides

clearFailedRagFilesCount()

public ImportRagFilesResponse.Builder clearFailedRagFilesCount()

The number of RagFiles that had failed while importing into the RagCorpus.

int64 failed_rag_files_count = 2;

Returns
Type Description
ImportRagFilesResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ImportRagFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportRagFilesResponse.Builder
Overrides

clearImportedRagFilesCount()

public ImportRagFilesResponse.Builder clearImportedRagFilesCount()

The number of RagFiles that had been imported into the RagCorpus.

int64 imported_rag_files_count = 1;

Returns
Type Description
ImportRagFilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportRagFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportRagFilesResponse.Builder
Overrides

clearPartialFailureSink()

public ImportRagFilesResponse.Builder clearPartialFailureSink()
Returns
Type Description
ImportRagFilesResponse.Builder

clearPartialFailuresBigqueryTable()

public ImportRagFilesResponse.Builder clearPartialFailuresBigqueryTable()

The BigQuery table into which the partial failures were written.

string partial_failures_bigquery_table = 5;

Returns
Type Description
ImportRagFilesResponse.Builder

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
Type Description
ImportRagFilesResponse.Builder

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
Type Description
ImportRagFilesResponse.Builder

This builder for chaining.

clone()

public ImportRagFilesResponse.Builder clone()
Returns
Type Description
ImportRagFilesResponse.Builder
Overrides

getDefaultInstanceForType()

public ImportRagFilesResponse getDefaultInstanceForType()
Returns
Type Description
ImportRagFilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFailedRagFilesCount()

public long getFailedRagFilesCount()

The number of RagFiles that had failed while importing into the RagCorpus.

int64 failed_rag_files_count = 2;

Returns
Type Description
long

The failedRagFilesCount.

getImportedRagFilesCount()

public long getImportedRagFilesCount()

The number of RagFiles that had been imported into the RagCorpus.

int64 imported_rag_files_count = 1;

Returns
Type Description
long

The importedRagFilesCount.

getPartialFailureSinkCase()

public ImportRagFilesResponse.PartialFailureSinkCase getPartialFailureSinkCase()
Returns
Type Description
ImportRagFilesResponse.PartialFailureSinkCase

getPartialFailuresBigqueryTable()

public String getPartialFailuresBigqueryTable()

The BigQuery table into which the partial failures were written.

string partial_failures_bigquery_table = 5;

Returns
Type Description
String

The partialFailuresBigqueryTable.

getPartialFailuresBigqueryTableBytes()

public ByteString getPartialFailuresBigqueryTableBytes()

The BigQuery table into which the partial failures were written.

string partial_failures_bigquery_table = 5;

Returns
Type Description
ByteString

The bytes for partialFailuresBigqueryTable.

getPartialFailuresGcsPath()

public String getPartialFailuresGcsPath()

The Google Cloud Storage path into which the partial failures were written.

string partial_failures_gcs_path = 4;

Returns
Type Description
String

The partialFailuresGcsPath.

getPartialFailuresGcsPathBytes()

public ByteString getPartialFailuresGcsPathBytes()

The Google Cloud Storage path into which the partial failures were written.

string partial_failures_gcs_path = 4;

Returns
Type Description
ByteString

The bytes for partialFailuresGcsPath.

getSkippedRagFilesCount()

public long getSkippedRagFilesCount()

The number of RagFiles that was skipped while importing into the RagCorpus.

int64 skipped_rag_files_count = 3;

Returns
Type Description
long

The skippedRagFilesCount.

hasPartialFailuresBigqueryTable()

public boolean hasPartialFailuresBigqueryTable()

The BigQuery table into which the partial failures were written.

string partial_failures_bigquery_table = 5;

Returns
Type Description
boolean

Whether the partialFailuresBigqueryTable field is set.

hasPartialFailuresGcsPath()

public boolean hasPartialFailuresGcsPath()

The Google Cloud Storage path into which the partial failures were written.

string partial_failures_gcs_path = 4;

Returns
Type Description
boolean

Whether the partialFailuresGcsPath field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportRagFilesResponse other)

public ImportRagFilesResponse.Builder mergeFrom(ImportRagFilesResponse other)
Parameter
Name Description
other ImportRagFilesResponse
Returns
Type Description
ImportRagFilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportRagFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportRagFilesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportRagFilesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportRagFilesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportRagFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportRagFilesResponse.Builder
Overrides

setFailedRagFilesCount(long value)

public ImportRagFilesResponse.Builder setFailedRagFilesCount(long value)

The number of RagFiles that had failed while importing into the RagCorpus.

int64 failed_rag_files_count = 2;

Parameter
Name Description
value long

The failedRagFilesCount to set.

Returns
Type Description
ImportRagFilesResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ImportRagFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportRagFilesResponse.Builder
Overrides

setImportedRagFilesCount(long value)

public ImportRagFilesResponse.Builder setImportedRagFilesCount(long value)

The number of RagFiles that had been imported into the RagCorpus.

int64 imported_rag_files_count = 1;

Parameter
Name Description
value long

The importedRagFilesCount to set.

Returns
Type Description
ImportRagFilesResponse.Builder

This builder for chaining.

setPartialFailuresBigqueryTable(String value)

public ImportRagFilesResponse.Builder setPartialFailuresBigqueryTable(String value)

The BigQuery table into which the partial failures were written.

string partial_failures_bigquery_table = 5;

Parameter
Name Description
value String

The partialFailuresBigqueryTable to set.

Returns
Type Description
ImportRagFilesResponse.Builder

This builder for chaining.

setPartialFailuresBigqueryTableBytes(ByteString value)

public ImportRagFilesResponse.Builder setPartialFailuresBigqueryTableBytes(ByteString value)

The BigQuery table into which the partial failures were written.

string partial_failures_bigquery_table = 5;

Parameter
Name Description
value ByteString

The bytes for partialFailuresBigqueryTable to set.

Returns
Type Description
ImportRagFilesResponse.Builder

This builder for chaining.

setPartialFailuresGcsPath(String value)

public ImportRagFilesResponse.Builder setPartialFailuresGcsPath(String value)

The Google Cloud Storage path into which the partial failures were written.

string partial_failures_gcs_path = 4;

Parameter
Name Description
value String

The partialFailuresGcsPath to set.

Returns
Type Description
ImportRagFilesResponse.Builder

This builder for chaining.

setPartialFailuresGcsPathBytes(ByteString value)

public ImportRagFilesResponse.Builder setPartialFailuresGcsPathBytes(ByteString value)

The Google Cloud Storage path into which the partial failures were written.

string partial_failures_gcs_path = 4;

Parameter
Name Description
value ByteString

The bytes for partialFailuresGcsPath to set.

Returns
Type Description
ImportRagFilesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportRagFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportRagFilesResponse.Builder
Overrides

setSkippedRagFilesCount(long value)

public ImportRagFilesResponse.Builder setSkippedRagFilesCount(long value)

The number of RagFiles that was skipped while importing into the RagCorpus.

int64 skipped_rag_files_count = 3;

Parameter
Name Description
value long

The skippedRagFilesCount to set.

Returns
Type Description
ImportRagFilesResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportRagFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportRagFilesResponse.Builder
Overrides