- 3.77.0 (latest)
- 3.76.0
- 3.75.0
- 3.74.0
- 3.73.0
- 3.71.0
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class RagFileMetadataConfig.Builder extends GeneratedMessageV3.Builder<RagFileMetadataConfig.Builder> implements RagFileMetadataConfigOrBuilderMetadata config for RagFile.
Protobuf type google.cloud.aiplatform.v1beta1.RagFileMetadataConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RagFileMetadataConfig.BuilderImplements
RagFileMetadataConfigOrBuilderStatic 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 |
|
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 |
|
clearField(Descriptors.FieldDescriptor field)
public RagFileMetadataConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
RagFileMetadataConfig.Builder |
|
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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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 |
|
clone()
public RagFileMetadataConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
RagFileMetadataConfig.Builder |
|
getDefaultInstanceForType()
public RagFileMetadataConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RagFileMetadataConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RagFileMetadataConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RagFileMetadataConfig.Builder |
|
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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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 |
|
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 |
|
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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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.jsongs://bucket_name/my_directoryIf 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RagFileMetadataConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
RagFileMetadataConfig.Builder |
|