Class RagFileMetadataConfig.Builder (3.68.0)

public static final class RagFileMetadataConfig.Builder extends GeneratedMessageV3.Builder<RagFileMetadataConfig.Builder> implements RagFileMetadataConfigOrBuilder

Metadata config for RagFile.

Protobuf type google.cloud.aiplatform.v1beta1.RagFileMetadataConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RagFileMetadataConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RagFileMetadataConfig.Builder
Overrides

build()

public RagFileMetadataConfig build()
Returns
Type Description
RagFileMetadataConfig

buildPartial()

public RagFileMetadataConfig buildPartial()
Returns
Type Description
RagFileMetadataConfig

clear()

public RagFileMetadataConfig.Builder clear()
Returns
Type Description
RagFileMetadataConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RagFileMetadataConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RagFileMetadataConfig.Builder
Overrides

clearGcsMetadataSchemaSource()

public RagFileMetadataConfig.Builder clearGcsMetadataSchemaSource()

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata_schema.json
  • gs://bucket_name/my_directory If providing a directory, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_schema_source = 1;

Returns
Type Description
RagFileMetadataConfig.Builder

clearGcsMetadataSource()

public RagFileMetadataConfig.Builder clearGcsMetadataSource()

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata.json
  • gs://bucket_name/my_directory If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_source = 4;

Returns
Type Description
RagFileMetadataConfig.Builder

clearGoogleDriveMetadataSchemaSource()

public RagFileMetadataConfig.Builder clearGoogleDriveMetadataSchemaSource()

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a folder, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_schema_source = 2;

Returns
Type Description
RagFileMetadataConfig.Builder

clearGoogleDriveMetadataSource()

public RagFileMetadataConfig.Builder clearGoogleDriveMetadataSource()

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_source = 5;

Returns
Type Description
RagFileMetadataConfig.Builder

clearInlineMetadataSchemaSource()

public RagFileMetadataConfig.Builder clearInlineMetadataSchemaSource()

Inline metadata schema source. Must be a JSON string.

string inline_metadata_schema_source = 3;

Returns
Type Description
RagFileMetadataConfig.Builder

This builder for chaining.

clearInlineMetadataSource()

public RagFileMetadataConfig.Builder clearInlineMetadataSource()

Inline metadata source. Must be a JSON string.

string inline_metadata_source = 6;

Returns
Type Description
RagFileMetadataConfig.Builder

This builder for chaining.

clearMetadataSchemaSource()

public RagFileMetadataConfig.Builder clearMetadataSchemaSource()
Returns
Type Description
RagFileMetadataConfig.Builder

clearMetadataSource()

public RagFileMetadataConfig.Builder clearMetadataSource()
Returns
Type Description
RagFileMetadataConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RagFileMetadataConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RagFileMetadataConfig.Builder
Overrides

clone()

public RagFileMetadataConfig.Builder clone()
Returns
Type Description
RagFileMetadataConfig.Builder
Overrides

getDefaultInstanceForType()

public RagFileMetadataConfig getDefaultInstanceForType()
Returns
Type Description
RagFileMetadataConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGcsMetadataSchemaSource()

public GcsSource getGcsMetadataSchemaSource()

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata_schema.json
  • gs://bucket_name/my_directory If providing a directory, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_schema_source = 1;

Returns
Type Description
GcsSource

The gcsMetadataSchemaSource.

getGcsMetadataSchemaSourceBuilder()

public GcsSource.Builder getGcsMetadataSchemaSourceBuilder()

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata_schema.json
  • gs://bucket_name/my_directory If providing a directory, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_schema_source = 1;

Returns
Type Description
GcsSource.Builder

getGcsMetadataSchemaSourceOrBuilder()

public GcsSourceOrBuilder getGcsMetadataSchemaSourceOrBuilder()

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata_schema.json
  • gs://bucket_name/my_directory If providing a directory, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_schema_source = 1;

Returns
Type Description
GcsSourceOrBuilder

getGcsMetadataSource()

public GcsSource getGcsMetadataSource()

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata.json
  • gs://bucket_name/my_directory If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_source = 4;

Returns
Type Description
GcsSource

The gcsMetadataSource.

getGcsMetadataSourceBuilder()

public GcsSource.Builder getGcsMetadataSourceBuilder()

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata.json
  • gs://bucket_name/my_directory If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_source = 4;

Returns
Type Description
GcsSource.Builder

getGcsMetadataSourceOrBuilder()

public GcsSourceOrBuilder getGcsMetadataSourceOrBuilder()

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata.json
  • gs://bucket_name/my_directory If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_source = 4;

Returns
Type Description
GcsSourceOrBuilder

getGoogleDriveMetadataSchemaSource()

public GoogleDriveSource getGoogleDriveMetadataSchemaSource()

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a folder, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_schema_source = 2;

Returns
Type Description
GoogleDriveSource

The googleDriveMetadataSchemaSource.

getGoogleDriveMetadataSchemaSourceBuilder()

public GoogleDriveSource.Builder getGoogleDriveMetadataSchemaSourceBuilder()

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a folder, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_schema_source = 2;

Returns
Type Description
GoogleDriveSource.Builder

getGoogleDriveMetadataSchemaSourceOrBuilder()

public GoogleDriveSourceOrBuilder getGoogleDriveMetadataSchemaSourceOrBuilder()

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a folder, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_schema_source = 2;

Returns
Type Description
GoogleDriveSourceOrBuilder

getGoogleDriveMetadataSource()

public GoogleDriveSource getGoogleDriveMetadataSource()

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_source = 5;

Returns
Type Description
GoogleDriveSource

The googleDriveMetadataSource.

getGoogleDriveMetadataSourceBuilder()

public GoogleDriveSource.Builder getGoogleDriveMetadataSourceBuilder()

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_source = 5;

Returns
Type Description
GoogleDriveSource.Builder

getGoogleDriveMetadataSourceOrBuilder()

public GoogleDriveSourceOrBuilder getGoogleDriveMetadataSourceOrBuilder()

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_source = 5;

Returns
Type Description
GoogleDriveSourceOrBuilder

getInlineMetadataSchemaSource()

public String getInlineMetadataSchemaSource()

Inline metadata schema source. Must be a JSON string.

string inline_metadata_schema_source = 3;

Returns
Type Description
String

The inlineMetadataSchemaSource.

getInlineMetadataSchemaSourceBytes()

public ByteString getInlineMetadataSchemaSourceBytes()

Inline metadata schema source. Must be a JSON string.

string inline_metadata_schema_source = 3;

Returns
Type Description
ByteString

The bytes for inlineMetadataSchemaSource.

getInlineMetadataSource()

public String getInlineMetadataSource()

Inline metadata source. Must be a JSON string.

string inline_metadata_source = 6;

Returns
Type Description
String

The inlineMetadataSource.

getInlineMetadataSourceBytes()

public ByteString getInlineMetadataSourceBytes()

Inline metadata source. Must be a JSON string.

string inline_metadata_source = 6;

Returns
Type Description
ByteString

The bytes for inlineMetadataSource.

getMetadataSchemaSourceCase()

public RagFileMetadataConfig.MetadataSchemaSourceCase getMetadataSchemaSourceCase()
Returns
Type Description
RagFileMetadataConfig.MetadataSchemaSourceCase

getMetadataSourceCase()

public RagFileMetadataConfig.MetadataSourceCase getMetadataSourceCase()
Returns
Type Description
RagFileMetadataConfig.MetadataSourceCase

hasGcsMetadataSchemaSource()

public boolean hasGcsMetadataSchemaSource()

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata_schema.json
  • gs://bucket_name/my_directory If providing a directory, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_schema_source = 1;

Returns
Type Description
boolean

Whether the gcsMetadataSchemaSource field is set.

hasGcsMetadataSource()

public boolean hasGcsMetadataSource()

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata.json
  • gs://bucket_name/my_directory If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_source = 4;

Returns
Type Description
boolean

Whether the gcsMetadataSource field is set.

hasGoogleDriveMetadataSchemaSource()

public boolean hasGoogleDriveMetadataSchemaSource()

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a folder, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_schema_source = 2;

Returns
Type Description
boolean

Whether the googleDriveMetadataSchemaSource field is set.

hasGoogleDriveMetadataSource()

public boolean hasGoogleDriveMetadataSource()

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_source = 5;

Returns
Type Description
boolean

Whether the googleDriveMetadataSource field is set.

hasInlineMetadataSchemaSource()

public boolean hasInlineMetadataSchemaSource()

Inline metadata schema source. Must be a JSON string.

string inline_metadata_schema_source = 3;

Returns
Type Description
boolean

Whether the inlineMetadataSchemaSource field is set.

hasInlineMetadataSource()

public boolean hasInlineMetadataSource()

Inline metadata source. Must be a JSON string.

string inline_metadata_source = 6;

Returns
Type Description
boolean

Whether the inlineMetadataSource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RagFileMetadataConfig other)

public RagFileMetadataConfig.Builder mergeFrom(RagFileMetadataConfig other)
Parameter
Name Description
other RagFileMetadataConfig
Returns
Type Description
RagFileMetadataConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RagFileMetadataConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RagFileMetadataConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RagFileMetadataConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RagFileMetadataConfig.Builder
Overrides

mergeGcsMetadataSchemaSource(GcsSource value)

public RagFileMetadataConfig.Builder mergeGcsMetadataSchemaSource(GcsSource value)

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata_schema.json
  • gs://bucket_name/my_directory If providing a directory, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_schema_source = 1;

Parameter
Name Description
value GcsSource
Returns
Type Description
RagFileMetadataConfig.Builder

mergeGcsMetadataSource(GcsSource value)

public RagFileMetadataConfig.Builder mergeGcsMetadataSource(GcsSource value)

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata.json
  • gs://bucket_name/my_directory If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_source = 4;

Parameter
Name Description
value GcsSource
Returns
Type Description
RagFileMetadataConfig.Builder

mergeGoogleDriveMetadataSchemaSource(GoogleDriveSource value)

public RagFileMetadataConfig.Builder mergeGoogleDriveMetadataSchemaSource(GoogleDriveSource value)

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a folder, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_schema_source = 2;

Parameter
Name Description
value GoogleDriveSource
Returns
Type Description
RagFileMetadataConfig.Builder

mergeGoogleDriveMetadataSource(GoogleDriveSource value)

public RagFileMetadataConfig.Builder mergeGoogleDriveMetadataSource(GoogleDriveSource value)

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_source = 5;

Parameter
Name Description
value GoogleDriveSource
Returns
Type Description
RagFileMetadataConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RagFileMetadataConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RagFileMetadataConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RagFileMetadataConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RagFileMetadataConfig.Builder
Overrides

setGcsMetadataSchemaSource(GcsSource value)

public RagFileMetadataConfig.Builder setGcsMetadataSchemaSource(GcsSource value)

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata_schema.json
  • gs://bucket_name/my_directory If providing a directory, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_schema_source = 1;

Parameter
Name Description
value GcsSource
Returns
Type Description
RagFileMetadataConfig.Builder

setGcsMetadataSchemaSource(GcsSource.Builder builderForValue)

public RagFileMetadataConfig.Builder setGcsMetadataSchemaSource(GcsSource.Builder builderForValue)

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata_schema.json
  • gs://bucket_name/my_directory If providing a directory, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_schema_source = 1;

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
RagFileMetadataConfig.Builder

setGcsMetadataSource(GcsSource value)

public RagFileMetadataConfig.Builder setGcsMetadataSource(GcsSource value)

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata.json
  • gs://bucket_name/my_directory If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_source = 4;

Parameter
Name Description
value GcsSource
Returns
Type Description
RagFileMetadataConfig.Builder

setGcsMetadataSource(GcsSource.Builder builderForValue)

public RagFileMetadataConfig.Builder setGcsMetadataSource(GcsSource.Builder builderForValue)

Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats:

  • gs://bucket_name/my_directory/object_name/metadata.json
  • gs://bucket_name/my_directory If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_metadata_source = 4;

Parameter
Name Description
builderForValue GcsSource.Builder
Returns
Type Description
RagFileMetadataConfig.Builder

setGoogleDriveMetadataSchemaSource(GoogleDriveSource value)

public RagFileMetadataConfig.Builder setGoogleDriveMetadataSchemaSource(GoogleDriveSource value)

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a folder, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_schema_source = 2;

Parameter
Name Description
value GoogleDriveSource
Returns
Type Description
RagFileMetadataConfig.Builder

setGoogleDriveMetadataSchemaSource(GoogleDriveSource.Builder builderForValue)

public RagFileMetadataConfig.Builder setGoogleDriveMetadataSchemaSource(GoogleDriveSource.Builder builderForValue)

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a folder, the metadata schema will be read from the files that ends with "metadata_schema.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_schema_source = 2;

Parameter
Name Description
builderForValue GoogleDriveSource.Builder
Returns
Type Description
RagFileMetadataConfig.Builder

setGoogleDriveMetadataSource(GoogleDriveSource value)

public RagFileMetadataConfig.Builder setGoogleDriveMetadataSource(GoogleDriveSource value)

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_source = 5;

Parameter
Name Description
value GoogleDriveSource
Returns
Type Description
RagFileMetadataConfig.Builder

setGoogleDriveMetadataSource(GoogleDriveSource.Builder builderForValue)

public RagFileMetadataConfig.Builder setGoogleDriveMetadataSource(GoogleDriveSource.Builder builderForValue)

Google Drive location. Supports importing individual files as well as Google Drive folders. If providing a directory, the metadata will be read from the files that ends with "metadata.json" in the directory.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_metadata_source = 5;

Parameter
Name Description
builderForValue GoogleDriveSource.Builder
Returns
Type Description
RagFileMetadataConfig.Builder

setInlineMetadataSchemaSource(String value)

public RagFileMetadataConfig.Builder setInlineMetadataSchemaSource(String value)

Inline metadata schema source. Must be a JSON string.

string inline_metadata_schema_source = 3;

Parameter
Name Description
value String

The inlineMetadataSchemaSource to set.

Returns
Type Description
RagFileMetadataConfig.Builder

This builder for chaining.

setInlineMetadataSchemaSourceBytes(ByteString value)

public RagFileMetadataConfig.Builder setInlineMetadataSchemaSourceBytes(ByteString value)

Inline metadata schema source. Must be a JSON string.

string inline_metadata_schema_source = 3;

Parameter
Name Description
value ByteString

The bytes for inlineMetadataSchemaSource to set.

Returns
Type Description
RagFileMetadataConfig.Builder

This builder for chaining.

setInlineMetadataSource(String value)

public RagFileMetadataConfig.Builder setInlineMetadataSource(String value)

Inline metadata source. Must be a JSON string.

string inline_metadata_source = 6;

Parameter
Name Description
value String

The inlineMetadataSource to set.

Returns
Type Description
RagFileMetadataConfig.Builder

This builder for chaining.

setInlineMetadataSourceBytes(ByteString value)

public RagFileMetadataConfig.Builder setInlineMetadataSourceBytes(ByteString value)

Inline metadata source. Must be a JSON string.

string inline_metadata_source = 6;

Parameter
Name Description
value ByteString

The bytes for inlineMetadataSource to set.

Returns
Type Description
RagFileMetadataConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RagFileMetadataConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RagFileMetadataConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RagFileMetadataConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RagFileMetadataConfig.Builder
Overrides