Class UploadRagFileConfig.Builder (3.56.0)

public static final class UploadRagFileConfig.Builder extends GeneratedMessageV3.Builder<UploadRagFileConfig.Builder> implements UploadRagFileConfigOrBuilder

Config for uploading RagFile.

Protobuf type google.cloud.aiplatform.v1beta1.UploadRagFileConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UploadRagFileConfig build()
Returns
Type Description
UploadRagFileConfig

buildPartial()

public UploadRagFileConfig buildPartial()
Returns
Type Description
UploadRagFileConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRagFileChunkingConfig() (deprecated)

public UploadRagFileConfig.Builder clearRagFileChunkingConfig()

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];

Returns
Type Description
UploadRagFileConfig.Builder

clearRagFileTransformationConfig()

public UploadRagFileConfig.Builder clearRagFileTransformationConfig()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;

Returns
Type Description
UploadRagFileConfig.Builder

clone()

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

getDefaultInstanceForType()

public UploadRagFileConfig getDefaultInstanceForType()
Returns
Type Description
UploadRagFileConfig

getDescriptorForType()

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

getRagFileChunkingConfig() (deprecated)

public RagFileChunkingConfig getRagFileChunkingConfig()

Deprecated. google.cloud.aiplatform.v1beta1.UploadRagFileConfig.rag_file_chunking_config is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=479

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];

Returns
Type Description
RagFileChunkingConfig

The ragFileChunkingConfig.

getRagFileChunkingConfigBuilder() (deprecated)

public RagFileChunkingConfig.Builder getRagFileChunkingConfigBuilder()

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];

Returns
Type Description
RagFileChunkingConfig.Builder

getRagFileChunkingConfigOrBuilder() (deprecated)

public RagFileChunkingConfigOrBuilder getRagFileChunkingConfigOrBuilder()

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];

Returns
Type Description
RagFileChunkingConfigOrBuilder

getRagFileTransformationConfig()

public RagFileTransformationConfig getRagFileTransformationConfig()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;

Returns
Type Description
RagFileTransformationConfig

The ragFileTransformationConfig.

getRagFileTransformationConfigBuilder()

public RagFileTransformationConfig.Builder getRagFileTransformationConfigBuilder()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;

Returns
Type Description
RagFileTransformationConfig.Builder

getRagFileTransformationConfigOrBuilder()

public RagFileTransformationConfigOrBuilder getRagFileTransformationConfigOrBuilder()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;

Returns
Type Description
RagFileTransformationConfigOrBuilder

hasRagFileChunkingConfig() (deprecated)

public boolean hasRagFileChunkingConfig()

Deprecated. google.cloud.aiplatform.v1beta1.UploadRagFileConfig.rag_file_chunking_config is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=479

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];

Returns
Type Description
boolean

Whether the ragFileChunkingConfig field is set.

hasRagFileTransformationConfig()

public boolean hasRagFileTransformationConfig()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;

Returns
Type Description
boolean

Whether the ragFileTransformationConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UploadRagFileConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRagFileChunkingConfig(RagFileChunkingConfig value) (deprecated)

public UploadRagFileConfig.Builder mergeRagFileChunkingConfig(RagFileChunkingConfig value)

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];

Parameter
Name Description
value RagFileChunkingConfig
Returns
Type Description
UploadRagFileConfig.Builder

mergeRagFileTransformationConfig(RagFileTransformationConfig value)

public UploadRagFileConfig.Builder mergeRagFileTransformationConfig(RagFileTransformationConfig value)

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;

Parameter
Name Description
value RagFileTransformationConfig
Returns
Type Description
UploadRagFileConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRagFileChunkingConfig(RagFileChunkingConfig value) (deprecated)

public UploadRagFileConfig.Builder setRagFileChunkingConfig(RagFileChunkingConfig value)

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];

Parameter
Name Description
value RagFileChunkingConfig
Returns
Type Description
UploadRagFileConfig.Builder

setRagFileChunkingConfig(RagFileChunkingConfig.Builder builderForValue) (deprecated)

public UploadRagFileConfig.Builder setRagFileChunkingConfig(RagFileChunkingConfig.Builder builderForValue)

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];

Parameter
Name Description
builderForValue RagFileChunkingConfig.Builder
Returns
Type Description
UploadRagFileConfig.Builder

setRagFileTransformationConfig(RagFileTransformationConfig value)

public UploadRagFileConfig.Builder setRagFileTransformationConfig(RagFileTransformationConfig value)

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;

Parameter
Name Description
value RagFileTransformationConfig
Returns
Type Description
UploadRagFileConfig.Builder

setRagFileTransformationConfig(RagFileTransformationConfig.Builder builderForValue)

public UploadRagFileConfig.Builder setRagFileTransformationConfig(RagFileTransformationConfig.Builder builderForValue)

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;

Parameter
Name Description
builderForValue RagFileTransformationConfig.Builder
Returns
Type Description
UploadRagFileConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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