public static final class MemoryBankCustomizationConfig.Builder extends GeneratedMessage.Builder<MemoryBankCustomizationConfig.Builder> implements MemoryBankCustomizationConfigOrBuilderRepresents configuration for organizing natural language memories for a particular scope.
Protobuf type google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MemoryBankCustomizationConfig.BuilderImplements
MemoryBankCustomizationConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllGenerateMemoriesExamples(Iterable<? extends MemoryBankCustomizationConfig.GenerateMemoriesExample> values)
public MemoryBankCustomizationConfig.Builder addAllGenerateMemoriesExamples(Iterable<? extends MemoryBankCustomizationConfig.GenerateMemoriesExample> values)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 |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample> |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
addAllMemoryTopics(Iterable<? extends MemoryBankCustomizationConfig.MemoryTopic> values)
public MemoryBankCustomizationConfig.Builder addAllMemoryTopics(Iterable<? extends MemoryBankCustomizationConfig.MemoryTopic> values)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 |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.MemoryTopic> |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
addAllScopeKeys(Iterable<String> values)
public MemoryBankCustomizationConfig.Builder addAllScopeKeys(Iterable<String> values)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 |
values |
Iterable<String>The scopeKeys to add. |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
This builder for chaining. |
addGenerateMemoriesExamples(MemoryBankCustomizationConfig.GenerateMemoriesExample value)
public MemoryBankCustomizationConfig.Builder addGenerateMemoriesExamples(MemoryBankCustomizationConfig.GenerateMemoriesExample value)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 |
value |
MemoryBankCustomizationConfig.GenerateMemoriesExample |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
addGenerateMemoriesExamples(MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder builderForValue)
public MemoryBankCustomizationConfig.Builder addGenerateMemoriesExamples(MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder builderForValue)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 |
builderForValue |
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
addGenerateMemoriesExamples(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample value)
public MemoryBankCustomizationConfig.Builder addGenerateMemoriesExamples(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MemoryBankCustomizationConfig.GenerateMemoriesExample |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
addGenerateMemoriesExamples(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder builderForValue)
public MemoryBankCustomizationConfig.Builder addGenerateMemoriesExamples(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
addGenerateMemoriesExamplesBuilder()
public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder addGenerateMemoriesExamplesBuilder()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 |
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder |
|
addGenerateMemoriesExamplesBuilder(int index)
public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder addGenerateMemoriesExamplesBuilder(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.Builder |
|
addMemoryTopics(MemoryBankCustomizationConfig.MemoryTopic value)
public MemoryBankCustomizationConfig.Builder addMemoryTopics(MemoryBankCustomizationConfig.MemoryTopic value)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 |
value |
MemoryBankCustomizationConfig.MemoryTopic |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
addMemoryTopics(MemoryBankCustomizationConfig.MemoryTopic.Builder builderForValue)
public MemoryBankCustomizationConfig.Builder addMemoryTopics(MemoryBankCustomizationConfig.MemoryTopic.Builder builderForValue)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 |
builderForValue |
MemoryBankCustomizationConfig.MemoryTopic.Builder |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
addMemoryTopics(int index, MemoryBankCustomizationConfig.MemoryTopic value)
public MemoryBankCustomizationConfig.Builder addMemoryTopics(int index, MemoryBankCustomizationConfig.MemoryTopic value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MemoryBankCustomizationConfig.MemoryTopic |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
addMemoryTopics(int index, MemoryBankCustomizationConfig.MemoryTopic.Builder builderForValue)
public MemoryBankCustomizationConfig.Builder addMemoryTopics(int index, MemoryBankCustomizationConfig.MemoryTopic.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MemoryBankCustomizationConfig.MemoryTopic.Builder |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
addMemoryTopicsBuilder()
public MemoryBankCustomizationConfig.MemoryTopic.Builder addMemoryTopicsBuilder()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 |
MemoryBankCustomizationConfig.MemoryTopic.Builder |
|
addMemoryTopicsBuilder(int index)
public MemoryBankCustomizationConfig.MemoryTopic.Builder addMemoryTopicsBuilder(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.Builder |
|
addScopeKeys(String value)
public MemoryBankCustomizationConfig.Builder addScopeKeys(String value)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 |
value |
StringThe scopeKeys to add. |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
This builder for chaining. |
addScopeKeysBytes(ByteString value)
public MemoryBankCustomizationConfig.Builder addScopeKeysBytes(ByteString value)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 |
value |
ByteStringThe bytes of the scopeKeys to add. |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
This builder for chaining. |
build()
public MemoryBankCustomizationConfig build()| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig |
|
buildPartial()
public MemoryBankCustomizationConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig |
|
clear()
public MemoryBankCustomizationConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
clearConsolidationConfig()
public MemoryBankCustomizationConfig.Builder clearConsolidationConfig()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.Builder |
|
clearDisableNaturalLanguageMemories()
public MemoryBankCustomizationConfig.Builder clearDisableNaturalLanguageMemories() 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 |
MemoryBankCustomizationConfig.Builder |
This builder for chaining. |
clearEnableThirdPersonMemories()
public MemoryBankCustomizationConfig.Builder clearEnableThirdPersonMemories()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 |
MemoryBankCustomizationConfig.Builder |
This builder for chaining. |
clearGenerateMemoriesExamples()
public MemoryBankCustomizationConfig.Builder clearGenerateMemoriesExamples()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 |
MemoryBankCustomizationConfig.Builder |
|
clearMemoryTopics()
public MemoryBankCustomizationConfig.Builder clearMemoryTopics()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 |
MemoryBankCustomizationConfig.Builder |
|
clearScopeKeys()
public MemoryBankCustomizationConfig.Builder clearScopeKeys()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 |
MemoryBankCustomizationConfig.Builder |
This builder for chaining. |
getConsolidationConfig()
public 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. |
getConsolidationConfigBuilder()
public MemoryBankCustomizationConfig.ConsolidationConfig.Builder getConsolidationConfigBuilder()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.Builder |
|
getConsolidationConfigOrBuilder()
public 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 |
|
getDefaultInstanceForType()
public MemoryBankCustomizationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisableNaturalLanguageMemories()
public 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 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 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 |
|
getGenerateMemoriesExamplesBuilder(int index)
public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder getGenerateMemoriesExamplesBuilder(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.Builder |
|
getGenerateMemoriesExamplesBuilderList()
public List<MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder> getGenerateMemoriesExamplesBuilderList()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<Builder> |
|
getGenerateMemoriesExamplesCount()
public 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 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 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 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 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 |
|
getMemoryTopicsBuilder(int index)
public MemoryBankCustomizationConfig.MemoryTopic.Builder getMemoryTopicsBuilder(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.Builder |
|
getMemoryTopicsBuilderList()
public List<MemoryBankCustomizationConfig.MemoryTopic.Builder> getMemoryTopicsBuilderList()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<Builder> |
|
getMemoryTopicsCount()
public 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 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 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 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 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 |
intThe 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 |
intThe 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. |
hasConsolidationConfig()
public 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeConsolidationConfig(MemoryBankCustomizationConfig.ConsolidationConfig value)
public MemoryBankCustomizationConfig.Builder mergeConsolidationConfig(MemoryBankCustomizationConfig.ConsolidationConfig value)Optional. Represents configuration for customizing how memories are consolidated together.
.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.ConsolidationConfig consolidation_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
MemoryBankCustomizationConfig.ConsolidationConfig |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
mergeFrom(MemoryBankCustomizationConfig other)
public MemoryBankCustomizationConfig.Builder mergeFrom(MemoryBankCustomizationConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
MemoryBankCustomizationConfig |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MemoryBankCustomizationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MemoryBankCustomizationConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
removeGenerateMemoriesExamples(int index)
public MemoryBankCustomizationConfig.Builder removeGenerateMemoriesExamples(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.Builder |
|
removeMemoryTopics(int index)
public MemoryBankCustomizationConfig.Builder removeMemoryTopics(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.Builder |
|
setConsolidationConfig(MemoryBankCustomizationConfig.ConsolidationConfig value)
public MemoryBankCustomizationConfig.Builder setConsolidationConfig(MemoryBankCustomizationConfig.ConsolidationConfig value)Optional. Represents configuration for customizing how memories are consolidated together.
.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.ConsolidationConfig consolidation_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
MemoryBankCustomizationConfig.ConsolidationConfig |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
setConsolidationConfig(MemoryBankCustomizationConfig.ConsolidationConfig.Builder builderForValue)
public MemoryBankCustomizationConfig.Builder setConsolidationConfig(MemoryBankCustomizationConfig.ConsolidationConfig.Builder builderForValue)Optional. Represents configuration for customizing how memories are consolidated together.
.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.ConsolidationConfig consolidation_config = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MemoryBankCustomizationConfig.ConsolidationConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
setDisableNaturalLanguageMemories(boolean value)
public MemoryBankCustomizationConfig.Builder setDisableNaturalLanguageMemories(boolean value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe disableNaturalLanguageMemories to set. |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
This builder for chaining. |
setEnableThirdPersonMemories(boolean value)
public MemoryBankCustomizationConfig.Builder setEnableThirdPersonMemories(boolean value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableThirdPersonMemories to set. |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
This builder for chaining. |
setGenerateMemoriesExamples(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample value)
public MemoryBankCustomizationConfig.Builder setGenerateMemoriesExamples(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MemoryBankCustomizationConfig.GenerateMemoriesExample |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
setGenerateMemoriesExamples(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder builderForValue)
public MemoryBankCustomizationConfig.Builder setGenerateMemoriesExamples(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
setMemoryTopics(int index, MemoryBankCustomizationConfig.MemoryTopic value)
public MemoryBankCustomizationConfig.Builder setMemoryTopics(int index, MemoryBankCustomizationConfig.MemoryTopic value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MemoryBankCustomizationConfig.MemoryTopic |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
setMemoryTopics(int index, MemoryBankCustomizationConfig.MemoryTopic.Builder builderForValue)
public MemoryBankCustomizationConfig.Builder setMemoryTopics(int index, MemoryBankCustomizationConfig.MemoryTopic.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MemoryBankCustomizationConfig.MemoryTopic.Builder |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
|
setScopeKeys(int index, String value)
public MemoryBankCustomizationConfig.Builder setScopeKeys(int index, String value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe scopeKeys to set. |
| Returns | |
|---|---|
| Type | Description |
MemoryBankCustomizationConfig.Builder |
This builder for chaining. |