Class RagFileTransformationConfig (3.56.0)

public final class RagFileTransformationConfig extends GeneratedMessageV3 implements RagFileTransformationConfigOrBuilder

Specifies the transformation config for RagFiles.

Protobuf type google.cloud.aiplatform.v1.RagFileTransformationConfig

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 RagFileTransformationConfig getDefaultInstance()
Returns
Type Description
RagFileTransformationConfig

getDescriptor()

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

newBuilder()

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

newBuilder(RagFileTransformationConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RagFileTransformationConfig getDefaultInstanceForType()
Returns
Type Description
RagFileTransformationConfig

getParserForType()

public Parser<RagFileTransformationConfig> getParserForType()
Returns
Type Description
Parser<RagFileTransformationConfig>
Overrides

getRagFileChunkingConfig()

public RagFileChunkingConfig getRagFileChunkingConfig()

Specifies the chunking config for RagFiles.

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

Returns
Type Description
RagFileChunkingConfig

The ragFileChunkingConfig.

getRagFileChunkingConfigOrBuilder()

public RagFileChunkingConfigOrBuilder getRagFileChunkingConfigOrBuilder()

Specifies the chunking config for RagFiles.

.google.cloud.aiplatform.v1.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 chunking config for RagFiles.

.google.cloud.aiplatform.v1.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 RagFileTransformationConfig.Builder newBuilderForType()
Returns
Type Description
RagFileTransformationConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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