Interface MemoryBankCustomizationConfig.GenerateMemoriesExampleOrBuilder (3.100.0)

public static interface MemoryBankCustomizationConfig.GenerateMemoriesExampleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConversationSource()

public abstract MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource getConversationSource()

A conversation source for the example.

.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource conversation_source = 3;

Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource

The conversationSource.

getConversationSourceOrBuilder()

public abstract MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSourceOrBuilder getConversationSourceOrBuilder()

A conversation source for the example.

.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource conversation_source = 3;

Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSourceOrBuilder

getGeneratedMemories(int index)

public abstract MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory getGeneratedMemories(int index)

Optional. Represents the memories that are expected to be generated from the input conversation. An empty list indicates that no memories are expected to be generated for the input conversation.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory generated_memories = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory

getGeneratedMemoriesCount()

public abstract int getGeneratedMemoriesCount()

Optional. Represents the memories that are expected to be generated from the input conversation. An empty list indicates that no memories are expected to be generated for the input conversation.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory generated_memories = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getGeneratedMemoriesList()

public abstract List<MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory> getGeneratedMemoriesList()

Optional. Represents the memories that are expected to be generated from the input conversation. An empty list indicates that no memories are expected to be generated for the input conversation.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory generated_memories = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<GeneratedMemory>

getGeneratedMemoriesOrBuilder(int index)

public abstract MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemoryOrBuilder getGeneratedMemoriesOrBuilder(int index)

Optional. Represents the memories that are expected to be generated from the input conversation. An empty list indicates that no memories are expected to be generated for the input conversation.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory generated_memories = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemoryOrBuilder

getGeneratedMemoriesOrBuilderList()

public abstract List<? extends MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemoryOrBuilder> getGeneratedMemoriesOrBuilderList()

Optional. Represents the memories that are expected to be generated from the input conversation. An empty list indicates that no memories are expected to be generated for the input conversation.

repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory generated_memories = 4 [(.google.api.field_behavior) = OPTIONAL];

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

getSourceCase()

public abstract MemoryBankCustomizationConfig.GenerateMemoriesExample.SourceCase getSourceCase()
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.SourceCase

hasConversationSource()

public abstract boolean hasConversationSource()

A conversation source for the example.

.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource conversation_source = 3;

Returns
Type Description
boolean

Whether the conversationSource field is set.