public final class RagFileMetadataConfig extends GeneratedMessageV3 implements RagFileMetadataConfigOrBuilder
Metadata config for RagFile.
Protobuf type google.cloud.aiplatform.v1beta1.RagFileMetadataConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int GCS_METADATA_SCHEMA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int GCS_METADATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int GOOGLE_DRIVE_METADATA_SCHEMA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int GOOGLE_DRIVE_METADATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INLINE_METADATA_SCHEMA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int INLINE_METADATA_SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static RagFileMetadataConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static RagFileMetadataConfig.Builder newBuilder()
public static RagFileMetadataConfig.Builder newBuilder(RagFileMetadataConfig prototype)
public static RagFileMetadataConfig parseDelimitedFrom(InputStream input)
public static RagFileMetadataConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RagFileMetadataConfig parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static RagFileMetadataConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RagFileMetadataConfig parseFrom(ByteString data)
public static RagFileMetadataConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RagFileMetadataConfig parseFrom(CodedInputStream input)
public static RagFileMetadataConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RagFileMetadataConfig parseFrom(InputStream input)
public static RagFileMetadataConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RagFileMetadataConfig parseFrom(ByteBuffer data)
public static RagFileMetadataConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<RagFileMetadataConfig> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
public RagFileMetadataConfig getDefaultInstanceForType()
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.
|
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;
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.
|
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;
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;
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;
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;
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;
public String getInlineMetadataSchemaSource()
Inline metadata schema source. Must be a JSON string.
string inline_metadata_schema_source = 3;
Returns |
Type |
Description |
String |
The inlineMetadataSchemaSource.
|
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.
|
public String getInlineMetadataSource()
Inline metadata source. Must be a JSON string.
string inline_metadata_source = 6;
Returns |
Type |
Description |
String |
The inlineMetadataSource.
|
public ByteString getInlineMetadataSourceBytes()
Inline metadata source. Must be a JSON string.
string inline_metadata_source = 6;
Returns |
Type |
Description |
ByteString |
The bytes for inlineMetadataSource.
|
public RagFileMetadataConfig.MetadataSchemaSourceCase getMetadataSchemaSourceCase()
public RagFileMetadataConfig.MetadataSourceCase getMetadataSourceCase()
public Parser<RagFileMetadataConfig> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RagFileMetadataConfig.Builder newBuilderForType()
protected RagFileMetadataConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public RagFileMetadataConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides