Class RagFileMetadataConfig (3.68.0)

public final class RagFileMetadataConfig extends GeneratedMessageV3 implements RagFileMetadataConfigOrBuilder

Metadata config for RagFile.

Protobuf type google.cloud.aiplatform.v1beta1.RagFileMetadataConfig

Static Fields

GCS_METADATA_SCHEMA_SOURCE_FIELD_NUMBER

public static final int GCS_METADATA_SCHEMA_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

GCS_METADATA_SOURCE_FIELD_NUMBER

public static final int GCS_METADATA_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_DRIVE_METADATA_SCHEMA_SOURCE_FIELD_NUMBER

public static final int GOOGLE_DRIVE_METADATA_SCHEMA_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

GOOGLE_DRIVE_METADATA_SOURCE_FIELD_NUMBER

public static final int GOOGLE_DRIVE_METADATA_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

INLINE_METADATA_SCHEMA_SOURCE_FIELD_NUMBER

public static final int INLINE_METADATA_SCHEMA_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

INLINE_METADATA_SOURCE_FIELD_NUMBER

public static final int INLINE_METADATA_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RagFileMetadataConfig getDefaultInstance()
Returns
Type Description
RagFileMetadataConfig

getDescriptor()

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

newBuilder()

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

newBuilder(RagFileMetadataConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RagFileMetadataConfig getDefaultInstanceForType()
Returns
Type Description
RagFileMetadataConfig

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.

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.

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.

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.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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 RagFileMetadataConfig.Builder newBuilderForType()
Returns
Type Description
RagFileMetadataConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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