public final class StructuredMemoryConfig extends GeneratedMessage implements StructuredMemoryConfigOrBuilder
Represents configuration for organizing structured memories for a particular
scope.
Protobuf type google.cloud.aiplatform.v1beta1.StructuredMemoryConfig
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 SCHEMA_CONFIGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int SCOPE_KEYS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static StructuredMemoryConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static StructuredMemoryConfig.Builder newBuilder()
public static StructuredMemoryConfig.Builder newBuilder(StructuredMemoryConfig prototype)
public static StructuredMemoryConfig parseDelimitedFrom(InputStream input)
public static StructuredMemoryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StructuredMemoryConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static StructuredMemoryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StructuredMemoryConfig parseFrom(ByteString data)
public static StructuredMemoryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StructuredMemoryConfig parseFrom(CodedInputStream input)
public static StructuredMemoryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StructuredMemoryConfig parseFrom(InputStream input)
public static StructuredMemoryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StructuredMemoryConfig parseFrom(ByteBuffer data)
public static StructuredMemoryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<StructuredMemoryConfig> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public StructuredMemoryConfig getDefaultInstanceForType()
public Parser<StructuredMemoryConfig> getParserForType()
Overrides
public StructuredMemoryConfig.SchemaConfig getSchemaConfigs(int index)
Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public int getSchemaConfigsCount()
Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
public List<StructuredMemoryConfig.SchemaConfig> getSchemaConfigsList()
Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
public StructuredMemoryConfig.SchemaConfigOrBuilder getSchemaConfigsOrBuilder(int index)
Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends StructuredMemoryConfig.SchemaConfigOrBuilder> getSchemaConfigsOrBuilderList()
Optional. Represents configuration of the structured memories' schemas.
repeated .google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfig schema_configs = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.StructuredMemoryConfig.SchemaConfigOrBuilder> |
|
public String getScopeKeys(int index)
Optional. Represents the scope keys (i.e. 'user_id') for which to use this
config. A request's scope must include all of the provided keys for the
config to be used (order does not matter). If empty, then the config will
be used for all requests that do not have a more specific config. Only one
default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The scopeKeys at the given index.
|
public ByteString getScopeKeysBytes(int index)
Optional. Represents the scope keys (i.e. 'user_id') for which to use this
config. A request's scope must include all of the provided keys for the
config to be used (order does not matter). If empty, then the config will
be used for all requests that do not have a more specific config. Only one
default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the scopeKeys at the given index.
|
public int getScopeKeysCount()
Optional. Represents the scope keys (i.e. 'user_id') for which to use this
config. A request's scope must include all of the provided keys for the
config to be used (order does not matter). If empty, then the config will
be used for all requests that do not have a more specific config. Only one
default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The count of scopeKeys.
|
public ProtocolStringList getScopeKeysList()
Optional. Represents the scope keys (i.e. 'user_id') for which to use this
config. A request's scope must include all of the provided keys for the
config to be used (order does not matter). If empty, then the config will
be used for all requests that do not have a more specific config. Only one
default config is allowed per Memory Bank.
repeated string scope_keys = 1 [(.google.api.field_behavior) = OPTIONAL];
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public StructuredMemoryConfig.Builder newBuilderForType()
protected StructuredMemoryConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public StructuredMemoryConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides