Class MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder (3.100.0)

public static final class MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder extends GeneratedMessage.Builder<MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder> implements MemoryBankCustomizationConfig.GenerateMemoriesExampleOrBuilder

An example of how to generate memories for a particular scope.

Protobuf type google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

Static Methods

getDescriptor()

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

Methods

addAllGeneratedMemories(Iterable<? extends MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory> values)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder addAllGeneratedMemories(Iterable<? extends MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory> values)

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
values Iterable<? extends com.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory>
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

addGeneratedMemories(MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory value)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder addGeneratedMemories(MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory value)

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
value MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

addGeneratedMemories(MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder builderForValue)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder addGeneratedMemories(MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder builderForValue)

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
builderForValue MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

addGeneratedMemories(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory value)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder addGeneratedMemories(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory value)

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

Parameters
Name Description
index int
value MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

addGeneratedMemories(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder builderForValue)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder addGeneratedMemories(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

addGeneratedMemoriesBuilder()

public MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder addGeneratedMemoriesBuilder()

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
MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder

addGeneratedMemoriesBuilder(int index)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder addGeneratedMemoriesBuilder(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.Builder

build()

public MemoryBankCustomizationConfig.GenerateMemoriesExample build()
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample

buildPartial()

public MemoryBankCustomizationConfig.GenerateMemoriesExample buildPartial()
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample

clear()

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder clear()
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder
Overrides

clearConversationSource()

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder clearConversationSource()

A conversation source for the example.

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

Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

clearGeneratedMemories()

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder clearGeneratedMemories()

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
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

clearSource()

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder clearSource()
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

getConversationSource()

public 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.

getConversationSourceBuilder()

public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder getConversationSourceBuilder()

A conversation source for the example.

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

Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder

getConversationSourceOrBuilder()

public 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

getDefaultInstanceForType()

public MemoryBankCustomizationConfig.GenerateMemoriesExample getDefaultInstanceForType()
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getGeneratedMemories(int index)

public 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

getGeneratedMemoriesBuilder(int index)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder getGeneratedMemoriesBuilder(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.Builder

getGeneratedMemoriesBuilderList()

public List<MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder> getGeneratedMemoriesBuilderList()

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<Builder>

getGeneratedMemoriesCount()

public 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 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 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 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 MemoryBankCustomizationConfig.GenerateMemoriesExample.SourceCase getSourceCase()
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.SourceCase

hasConversationSource()

public 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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConversationSource(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource value)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder mergeConversationSource(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource value)

A conversation source for the example.

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

Parameter
Name Description
value MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

mergeFrom(MemoryBankCustomizationConfig.GenerateMemoriesExample other)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder mergeFrom(MemoryBankCustomizationConfig.GenerateMemoriesExample other)
Parameter
Name Description
other MemoryBankCustomizationConfig.GenerateMemoriesExample
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder
Overrides

removeGeneratedMemories(int index)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder removeGeneratedMemories(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.Builder

setConversationSource(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource value)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder setConversationSource(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource value)

A conversation source for the example.

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

Parameter
Name Description
value MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

setConversationSource(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder builderForValue)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder setConversationSource(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder builderForValue)

A conversation source for the example.

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

Parameter
Name Description
builderForValue MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

setGeneratedMemories(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory value)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder setGeneratedMemories(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory value)

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

Parameters
Name Description
index int
value MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder

setGeneratedMemories(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder builderForValue)

public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder setGeneratedMemories(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder builderForValue)

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

Parameters
Name Description
index int
builderForValue MemoryBankCustomizationConfig.GenerateMemoriesExample.GeneratedMemory.Builder
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder