Interface StructuredMemoryConfig.SchemaConfigOrBuilder (3.100.0)

public static interface StructuredMemoryConfig.SchemaConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getId()

public abstract String getId()

Required. Represents the ID of the schema. Must be 1-63 characters, start with a lowercase letter, and consist of lowercase letters, numbers, and hyphens.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Required. Represents the ID of the schema. Must be 1-63 characters, start with a lowercase letter, and consist of lowercase letters, numbers, and hyphens.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.

getJsonSchema()

public abstract Value getJsonSchema()

Optional. Represents the JSON Schema of the structured memories.

.google.protobuf.Value json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Value

The jsonSchema.

getJsonSchemaOrBuilder()

public abstract ValueOrBuilder getJsonSchemaOrBuilder()

Optional. Represents the JSON Schema of the structured memories.

.google.protobuf.Value json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ValueOrBuilder

getMemoryType()

public abstract MemoryType getMemoryType()

Optional. Represents the type of the structured memories associated with the schema. If not set, then STRUCTURED_PROFILE will be used.

.google.cloud.aiplatform.v1beta1.MemoryType memory_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MemoryType

The memoryType.

getMemoryTypeValue()

public abstract int getMemoryTypeValue()

Optional. Represents the type of the structured memories associated with the schema. If not set, then STRUCTURED_PROFILE will be used.

.google.cloud.aiplatform.v1beta1.MemoryType memory_type = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for memoryType.

getSchema()

public abstract Schema getSchema()

Required. Represents the OpenAPI schema of the structured memories. The schema type cannot be ARRAY when memory_type is STRUCTURED_PROFILE.

.google.cloud.aiplatform.v1beta1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Schema

The schema.

getSchemaOrBuilder()

public abstract SchemaOrBuilder getSchemaOrBuilder()

Required. Represents the OpenAPI schema of the structured memories. The schema type cannot be ARRAY when memory_type is STRUCTURED_PROFILE.

.google.cloud.aiplatform.v1beta1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SchemaOrBuilder

hasJsonSchema()

public abstract boolean hasJsonSchema()

Optional. Represents the JSON Schema of the structured memories.

.google.protobuf.Value json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the jsonSchema field is set.

hasSchema()

public abstract boolean hasSchema()

Required. Represents the OpenAPI schema of the structured memories. The schema type cannot be ARRAY when memory_type is STRUCTURED_PROFILE.

.google.cloud.aiplatform.v1beta1.Schema schema = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the schema field is set.