public static final class UploadRagFileConfig.Builder extends GeneratedMessageV3.Builder<UploadRagFileConfig.Builder> implements UploadRagFileConfigOrBuilder
Config for uploading RagFile.
Protobuf type google.cloud.aiplatform.v1beta1.UploadRagFileConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UploadRagFileConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UploadRagFileConfig build()
public UploadRagFileConfig buildPartial()
public UploadRagFileConfig.Builder clear()
Overrides
public UploadRagFileConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UploadRagFileConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
public UploadRagFileConfig.Builder clearRagFileTransformationConfig()
Specifies the transformation config for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
public UploadRagFileConfig.Builder clone()
Overrides
public UploadRagFileConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
public RagFileTransformationConfig getRagFileTransformationConfig()
Specifies the transformation config for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
public RagFileTransformationConfig.Builder getRagFileTransformationConfigBuilder()
Specifies the transformation config for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
public RagFileTransformationConfigOrBuilder getRagFileTransformationConfigOrBuilder()
Specifies the transformation config for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UploadRagFileConfig.Builder mergeFrom(UploadRagFileConfig other)
public UploadRagFileConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UploadRagFileConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
public UploadRagFileConfig.Builder mergeRagFileTransformationConfig(RagFileTransformationConfig value)
Specifies the transformation config for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
public final UploadRagFileConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UploadRagFileConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
public UploadRagFileConfig.Builder setRagFileTransformationConfig(RagFileTransformationConfig value)
Specifies the transformation config for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
public UploadRagFileConfig.Builder setRagFileTransformationConfig(RagFileTransformationConfig.Builder builderForValue)
Specifies the transformation config for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
public UploadRagFileConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final UploadRagFileConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides