public interface RagDataSchemaOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getKey()
public abstract String getKey()Required. The key of this data schema. This key should be matching the key of user specified metadata and unique inside corpus. This value can be up to 63 characters, and valid characters are /a-z-/. The first character must be a letter, the last could be a letter or a number.
string key = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public abstract ByteString getKeyBytes()Required. The key of this data schema. This key should be matching the key of user specified metadata and unique inside corpus. This value can be up to 63 characters, and valid characters are /a-z-/. The first character must be a letter, the last could be a letter or a number.
string key = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getName()
public abstract String getName() Identifier. Resource name of the data schema in the form of:
projects/{project_number}/locations/{location}/ragCorpora/{rag_corpus}/ragDataSchemas/{rag_data_schema}
where the {rag_data_schema} part should be the same as the key field
below.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Identifier. Resource name of the data schema in the form of:
projects/{project_number}/locations/{location}/ragCorpora/{rag_corpus}/ragDataSchemas/{rag_data_schema}
where the {rag_data_schema} part should be the same as the key field
below.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSchemaDetails()
public abstract RagMetadataSchemaDetails getSchemaDetails()The schema details mapping to the key.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails schema_details = 3;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetails |
The schemaDetails. |
getSchemaDetailsOrBuilder()
public abstract RagMetadataSchemaDetailsOrBuilder getSchemaDetailsOrBuilder()The schema details mapping to the key.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails schema_details = 3;
| Returns | |
|---|---|
| Type | Description |
RagMetadataSchemaDetailsOrBuilder |
|
hasSchemaDetails()
public abstract boolean hasSchemaDetails()The schema details mapping to the key.
.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails schema_details = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the schemaDetails field is set. |