public static final class StructuredMemoryConfig.SchemaConfig extends GeneratedMessage implements StructuredMemoryConfig.SchemaConfigOrBuilder
Schema configuration for structured memories.
Protobuf type google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int JSON_SCHEMA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MEMORY_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int SCHEMA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static StructuredMemoryConfig.SchemaConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static StructuredMemoryConfig.SchemaConfig.Builder newBuilder()
public static StructuredMemoryConfig.SchemaConfig.Builder newBuilder(StructuredMemoryConfig.SchemaConfig prototype)
public static StructuredMemoryConfig.SchemaConfig parseDelimitedFrom(InputStream input)
public static StructuredMemoryConfig.SchemaConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StructuredMemoryConfig.SchemaConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static StructuredMemoryConfig.SchemaConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StructuredMemoryConfig.SchemaConfig parseFrom(ByteString data)
public static StructuredMemoryConfig.SchemaConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StructuredMemoryConfig.SchemaConfig parseFrom(CodedInputStream input)
public static StructuredMemoryConfig.SchemaConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StructuredMemoryConfig.SchemaConfig parseFrom(InputStream input)
public static StructuredMemoryConfig.SchemaConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StructuredMemoryConfig.SchemaConfig parseFrom(ByteBuffer data)
public static StructuredMemoryConfig.SchemaConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<StructuredMemoryConfig.SchemaConfig> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public StructuredMemoryConfig.SchemaConfig getDefaultInstanceForType()
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.
|
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.
|
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.
|
public ValueOrBuilder getJsonSchemaOrBuilder()
Optional. Represents the JSON Schema of the structured memories.
.google.protobuf.Value json_schema = 5 [(.google.api.field_behavior) = OPTIONAL];
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.
|
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.
|
public Parser<StructuredMemoryConfig.SchemaConfig> getParserForType()
Overrides
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.
|
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];
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.
|
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.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public StructuredMemoryConfig.SchemaConfig.Builder newBuilderForType()
protected StructuredMemoryConfig.SchemaConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public StructuredMemoryConfig.SchemaConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides