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
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
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];
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];
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];
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];
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];
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
|
public MemoryBankCustomizationConfig.GenerateMemoriesExample build()
public MemoryBankCustomizationConfig.GenerateMemoriesExample buildPartial()
public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder clear()
Overrides
public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder clearConversationSource()
A conversation source for the example.
.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource conversation_source = 3;
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];
public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder clearSource()
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource getConversationSource()
A conversation source for the example.
.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource conversation_source = 3;
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder getConversationSourceBuilder()
A conversation source for the example.
.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource conversation_source = 3;
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSourceOrBuilder getConversationSourceOrBuilder()
A conversation source for the example.
.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource conversation_source = 3;
public MemoryBankCustomizationConfig.GenerateMemoriesExample getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
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];
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 |
|
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];
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
|
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> |
|
public MemoryBankCustomizationConfig.GenerateMemoriesExample.SourceCase getSourceCase()
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.
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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;
public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder mergeFrom(MemoryBankCustomizationConfig.GenerateMemoriesExample other)
public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public MemoryBankCustomizationConfig.GenerateMemoriesExample.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
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
|
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;
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;
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];
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];