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

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

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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