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.v1.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

clearRagFileTransformationConfig()

public UploadRagFileConfig.Builder clearRagFileTransformationConfig()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1.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

getRagFileTransformationConfig()

public RagFileTransformationConfig getRagFileTransformationConfig()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1.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.v1.RagFileTransformationConfig rag_file_transformation_config = 3;

Returns
Type Description
RagFileTransformationConfig.Builder

getRagFileTransformationConfigOrBuilder()

public RagFileTransformationConfigOrBuilder getRagFileTransformationConfigOrBuilder()

Specifies the transformation config for RagFiles.

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

Returns
Type Description
RagFileTransformationConfigOrBuilder

hasRagFileTransformationConfig()

public boolean hasRagFileTransformationConfig()

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1.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

mergeRagFileTransformationConfig(RagFileTransformationConfig value)

public UploadRagFileConfig.Builder mergeRagFileTransformationConfig(RagFileTransformationConfig value)

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1.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

setRagFileTransformationConfig(RagFileTransformationConfig value)

public UploadRagFileConfig.Builder setRagFileTransformationConfig(RagFileTransformationConfig value)

Specifies the transformation config for RagFiles.

.google.cloud.aiplatform.v1.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.v1.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