Class StructuredMemoryConfig (3.100.0)

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

Static Fields

SCHEMA_CONFIGS_FIELD_NUMBER

public static final int SCHEMA_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

SCOPE_KEYS_FIELD_NUMBER

public static final int SCOPE_KEYS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StructuredMemoryConfig getDefaultInstance()
Returns
Type Description
StructuredMemoryConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static StructuredMemoryConfig.Builder newBuilder()
Returns
Type Description
StructuredMemoryConfig.Builder

newBuilder(StructuredMemoryConfig prototype)

public static StructuredMemoryConfig.Builder newBuilder(StructuredMemoryConfig prototype)
Parameter
Name Description
prototype StructuredMemoryConfig
Returns
Type Description
StructuredMemoryConfig.Builder

parseDelimitedFrom(InputStream input)

public static StructuredMemoryConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredMemoryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static StructuredMemoryConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static StructuredMemoryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static StructuredMemoryConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static StructuredMemoryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static StructuredMemoryConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredMemoryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static StructuredMemoryConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static StructuredMemoryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static StructuredMemoryConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static StructuredMemoryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StructuredMemoryConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<StructuredMemoryConfig> parser()
Returns
Type Description
Parser<StructuredMemoryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public StructuredMemoryConfig getDefaultInstanceForType()
Returns
Type Description
StructuredMemoryConfig

getParserForType()

public Parser<StructuredMemoryConfig> getParserForType()
Returns
Type Description
Parser<StructuredMemoryConfig>
Overrides

getSchemaConfigs(int index)

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
Returns
Type Description
StructuredMemoryConfig.SchemaConfig

getSchemaConfigsCount()

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

getSchemaConfigsList()

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];

Returns
Type Description
List<SchemaConfig>

getSchemaConfigsOrBuilder(int index)

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
Returns
Type Description
StructuredMemoryConfig.SchemaConfigOrBuilder

getSchemaConfigsOrBuilderList()

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>

getScopeKeys(int index)

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.

getScopeKeysBytes(int 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.

getScopeKeysCount()

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.

getScopeKeysList()

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];

Returns
Type Description
ProtocolStringList

A list containing the scopeKeys.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public StructuredMemoryConfig.Builder newBuilderForType()
Returns
Type Description
StructuredMemoryConfig.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected StructuredMemoryConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StructuredMemoryConfig.Builder
Overrides

toBuilder()

public StructuredMemoryConfig.Builder toBuilder()
Returns
Type Description
StructuredMemoryConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException