Class UploadRagFileConfig.Builder (3.44.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()

public UploadRagFileConfig.Builder clearRagFileChunkingConfig()

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1;

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()

public RagFileChunkingConfig getRagFileChunkingConfig()

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1;

Returns
Type Description
RagFileChunkingConfig

The ragFileChunkingConfig.

getRagFileChunkingConfigBuilder()

public RagFileChunkingConfig.Builder getRagFileChunkingConfigBuilder()

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1;

Returns
Type Description
RagFileChunkingConfig.Builder

getRagFileChunkingConfigOrBuilder()

public RagFileChunkingConfigOrBuilder getRagFileChunkingConfigOrBuilder()

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1;

Returns
Type Description
RagFileChunkingConfigOrBuilder

hasRagFileChunkingConfig()

public boolean hasRagFileChunkingConfig()

Specifies the size and overlap of chunks after uploading RagFile.

.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1;

Returns
Type Description
boolean

Whether the ragFileChunkingConfig 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)

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;

Parameter
Name Description
value RagFileChunkingConfig
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)

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;

Parameter
Name Description
value RagFileChunkingConfig
Returns
Type Description
UploadRagFileConfig.Builder

setRagFileChunkingConfig(RagFileChunkingConfig.Builder builderForValue)

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;

Parameter
Name Description
builderForValue RagFileChunkingConfig.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