public static final class StructuredMemoryConfig.SchemaConfig.Builder extends GeneratedMessage.Builder<StructuredMemoryConfig.SchemaConfig.Builder> implements StructuredMemoryConfig.SchemaConfigOrBuilderSchema configuration for structured memories.
Protobuf type google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > StructuredMemoryConfig.SchemaConfig.BuilderImplements
StructuredMemoryConfig.SchemaConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public StructuredMemoryConfig.SchemaConfig build()| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig |
|
buildPartial()
public StructuredMemoryConfig.SchemaConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig |
|
clear()
public StructuredMemoryConfig.SchemaConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
clearId()
public StructuredMemoryConfig.SchemaConfig.Builder clearId()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 |
StructuredMemoryConfig.SchemaConfig.Builder |
This builder for chaining. |
clearJsonSchema()
public StructuredMemoryConfig.SchemaConfig.Builder clearJsonSchema()Optional. Represents the JSON Schema of the structured memories.
.google.protobuf.Value json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
clearMemoryType()
public StructuredMemoryConfig.SchemaConfig.Builder clearMemoryType() 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 |
StructuredMemoryConfig.SchemaConfig.Builder |
This builder for chaining. |
clearSchema()
public StructuredMemoryConfig.SchemaConfig.Builder clearSchema() 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 |
StructuredMemoryConfig.SchemaConfig.Builder |
|
getDefaultInstanceForType()
public StructuredMemoryConfig.SchemaConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public 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 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 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. |
getJsonSchemaBuilder()
public Value.Builder getJsonSchemaBuilder()Optional. Represents the JSON Schema of the structured memories.
.google.protobuf.Value json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getJsonSchemaOrBuilder()
public 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 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 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 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. |
getSchemaBuilder()
public Schema.Builder getSchemaBuilder() 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.Builder |
|
getSchemaOrBuilder()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(StructuredMemoryConfig.SchemaConfig other)
public StructuredMemoryConfig.SchemaConfig.Builder mergeFrom(StructuredMemoryConfig.SchemaConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
StructuredMemoryConfig.SchemaConfig |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StructuredMemoryConfig.SchemaConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public StructuredMemoryConfig.SchemaConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
mergeJsonSchema(Value value)
public StructuredMemoryConfig.SchemaConfig.Builder mergeJsonSchema(Value value)Optional. Represents the JSON Schema of the structured memories.
.google.protobuf.Value json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Value |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
mergeSchema(Schema value)
public StructuredMemoryConfig.SchemaConfig.Builder mergeSchema(Schema value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
setId(String value)
public StructuredMemoryConfig.SchemaConfig.Builder setId(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public StructuredMemoryConfig.SchemaConfig.Builder setIdBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
This builder for chaining. |
setJsonSchema(Value value)
public StructuredMemoryConfig.SchemaConfig.Builder setJsonSchema(Value value)Optional. Represents the JSON Schema of the structured memories.
.google.protobuf.Value json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Value |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
setJsonSchema(Value.Builder builderForValue)
public StructuredMemoryConfig.SchemaConfig.Builder setJsonSchema(Value.Builder builderForValue)Optional. Represents the JSON Schema of the structured memories.
.google.protobuf.Value json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
setMemoryType(MemoryType value)
public StructuredMemoryConfig.SchemaConfig.Builder setMemoryType(MemoryType value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
MemoryTypeThe memoryType to set. |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
This builder for chaining. |
setMemoryTypeValue(int value)
public StructuredMemoryConfig.SchemaConfig.Builder setMemoryTypeValue(int value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for memoryType to set. |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
This builder for chaining. |
setSchema(Schema value)
public StructuredMemoryConfig.SchemaConfig.Builder setSchema(Schema value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Schema |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|
setSchema(Schema.Builder builderForValue)
public StructuredMemoryConfig.SchemaConfig.Builder setSchema(Schema.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Schema.Builder |
| Returns | |
|---|---|
| Type | Description |
StructuredMemoryConfig.SchemaConfig.Builder |
|