public static final class MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder extends GeneratedMessage.Builder<MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder> implements MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSourceOrBuilder
A conversation source for the example. This is similar to
DirectContentsSource.
Protobuf type
google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource
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.ConversationSource.Builder addAllEvents(Iterable<? extends MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event> values)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event>
|
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder addEvents(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event value)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder addEvents(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder builderForValue)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder addEvents(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event value)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder addEvents(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder builderForValue)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder addEventsBuilder()
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder addEventsBuilder(int index)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource build()
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource buildPartial()
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder clear()
Overrides
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder clearEvents()
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event getEvents(int index)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder getEventsBuilder(int index)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public List<MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder> getEventsBuilderList()
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
public int getEventsCount()
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
|
public List<MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event> getEventsList()
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.EventOrBuilder getEventsOrBuilder(int index)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.EventOrBuilder> getEventsOrBuilderList()
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.EventOrBuilder> |
|
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder mergeFrom(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource other)
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder removeEvents(int index)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
index |
int
|
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder setEvents(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event value)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];
public MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder setEvents(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder builderForValue)
Optional. Represents the input conversation events for the example.
repeated .google.cloud.aiplatform.v1beta1.MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event events = 1 [(.google.api.field_behavior) = OPTIONAL];