Class ImportRagFilesResponse.Builder (3.47.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

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.

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.

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.

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