Class UploadRagFileConfig (3.55.0)

public final class UploadRagFileConfig extends GeneratedMessageV3 implements UploadRagFileConfigOrBuilder

Config for uploading RagFile.

Protobuf type google.cloud.aiplatform.v1beta1.UploadRagFileConfig

Static Fields

RAG_FILE_CHUNKING_CONFIG_FIELD_NUMBER

public static final int RAG_FILE_CHUNKING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UploadRagFileConfig getDefaultInstance()
Returns
Type Description
UploadRagFileConfig

getDescriptor()

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

newBuilder()

public static UploadRagFileConfig.Builder newBuilder()
Returns
Type Description
UploadRagFileConfig.Builder

newBuilder(UploadRagFileConfig prototype)

public static UploadRagFileConfig.Builder newBuilder(UploadRagFileConfig prototype)
Parameter
Name Description
prototype UploadRagFileConfig
Returns
Type Description
UploadRagFileConfig.Builder

parseDelimitedFrom(InputStream input)

public static UploadRagFileConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UploadRagFileConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UploadRagFileConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UploadRagFileConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UploadRagFileConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UploadRagFileConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UploadRagFileConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UploadRagFileConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UploadRagFileConfig> parser()
Returns
Type Description
Parser<UploadRagFileConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UploadRagFileConfig getDefaultInstanceForType()
Returns
Type Description
UploadRagFileConfig

getParserForType()

public Parser<UploadRagFileConfig> getParserForType()
Returns
Type Description
Parser<UploadRagFileConfig>
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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UploadRagFileConfig.Builder newBuilderForType()
Returns
Type Description
UploadRagFileConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UploadRagFileConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UploadRagFileConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UploadRagFileConfig.Builder toBuilder()
Returns
Type Description
UploadRagFileConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException