Interface MemoryBankCustomizationConfigOrBuilder (3.100.0)

public interface MemoryBankCustomizationConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsolidationConfig()

public abstract MemoryBankCustomizationConfig.ConsolidationConfig getConsolidationConfig()

Optional. Represents configuration for customizing how memories are consolidated together.

.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.ConsolidationConfig consolidation_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MemoryBankCustomizationConfig.ConsolidationConfig

The consolidationConfig.

getConsolidationConfigOrBuilder()

public abstract MemoryBankCustomizationConfig.ConsolidationConfigOrBuilder getConsolidationConfigOrBuilder()

Optional. Represents configuration for customizing how memories are consolidated together.

.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.ConsolidationConfig consolidation_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MemoryBankCustomizationConfig.ConsolidationConfigOrBuilder

getDisableNaturalLanguageMemories()

public abstract boolean getDisableNaturalLanguageMemories()

Optional. Indicates whether natural language memory generation should be disabled for all requests. By default, natural language memory generation is enabled. Set this to true when you only want to generate structured memories.

bool disable_natural_language_memories = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The disableNaturalLanguageMemories.

getEnableThirdPersonMemories()

public abstract boolean getEnableThirdPersonMemories()

Optional. Indicates whether the memories will be generated in the third person (i.e. "The user generates memories with Memory Bank."). By default, the memories will be generated in the first person (i.e. "I generate memories with Memory Bank.")

bool enable_third_person_memories = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enableThirdPersonMemories.

getGenerateMemoriesExamples(int index)

public abstract MemoryBankCustomizationConfig.GenerateMemoriesExample getGenerateMemoriesExamples(int index)

Optional. Provides examples of how to generate memories for a particular scope.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample generate_memories_examples = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample

getGenerateMemoriesExamplesCount()

public abstract int getGenerateMemoriesExamplesCount()

Optional. Provides examples of how to generate memories for a particular scope.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample generate_memories_examples = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getGenerateMemoriesExamplesList()

public abstract List<MemoryBankCustomizationConfig.GenerateMemoriesExample> getGenerateMemoriesExamplesList()

Optional. Provides examples of how to generate memories for a particular scope.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample generate_memories_examples = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<GenerateMemoriesExample>

getGenerateMemoriesExamplesOrBuilder(int index)

public abstract MemoryBankCustomizationConfig.GenerateMemoriesExampleOrBuilder getGenerateMemoriesExamplesOrBuilder(int index)

Optional. Provides examples of how to generate memories for a particular scope.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample generate_memories_examples = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExampleOrBuilder

getGenerateMemoriesExamplesOrBuilderList()

public abstract List<? extends MemoryBankCustomizationConfig.GenerateMemoriesExampleOrBuilder> getGenerateMemoriesExamplesOrBuilderList()

Optional. Provides examples of how to generate memories for a particular scope.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample generate_memories_examples = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExampleOrBuilder>

getMemoryTopics(int index)

public abstract MemoryBankCustomizationConfig.MemoryTopic getMemoryTopics(int index)

Optional. Represents topics of information that should be extracted from conversations and stored as memories. If not set, then Memory Bank's default topics will be used.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.MemoryTopic memory_topics = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopic

getMemoryTopicsCount()

public abstract int getMemoryTopicsCount()

Optional. Represents topics of information that should be extracted from conversations and stored as memories. If not set, then Memory Bank's default topics will be used.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.MemoryTopic memory_topics = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getMemoryTopicsList()

public abstract List<MemoryBankCustomizationConfig.MemoryTopic> getMemoryTopicsList()

Optional. Represents topics of information that should be extracted from conversations and stored as memories. If not set, then Memory Bank's default topics will be used.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.MemoryTopic memory_topics = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<MemoryTopic>

getMemoryTopicsOrBuilder(int index)

public abstract MemoryBankCustomizationConfig.MemoryTopicOrBuilder getMemoryTopicsOrBuilder(int index)

Optional. Represents topics of information that should be extracted from conversations and stored as memories. If not set, then Memory Bank's default topics will be used.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.MemoryTopic memory_topics = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MemoryBankCustomizationConfig.MemoryTopicOrBuilder

getMemoryTopicsOrBuilderList()

public abstract List<? extends MemoryBankCustomizationConfig.MemoryTopicOrBuilder> getMemoryTopicsOrBuilderList()

Optional. Represents topics of information that should be extracted from conversations and stored as memories. If not set, then Memory Bank's default topics will be used.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.MemoryTopic memory_topics = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.MemoryTopicOrBuilder>

getScopeKeys(int index)

public abstract 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 abstract 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 abstract 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 abstract List<String> 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
List<String>

A list containing the scopeKeys.

hasConsolidationConfig()

public abstract boolean hasConsolidationConfig()

Optional. Represents configuration for customizing how memories are consolidated together.

.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.ConsolidationConfig consolidation_config = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the consolidationConfig field is set.