Class MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder (3.100.0)

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addAllEvents(Iterable<? extends MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event> values)

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

addEvents(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event value)

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

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

addEvents(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder builderForValue)

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

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

addEvents(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event value)

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

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

addEvents(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder builderForValue)

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

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

addEventsBuilder()

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

Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder

addEventsBuilder(int index)

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
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder

build()

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

buildPartial()

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

clear()

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

clearEvents()

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

Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Builder

getDefaultInstanceForType()

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

getDescriptorForType()

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

getEvents(int index)

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
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event

getEventsBuilder(int index)

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
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder

getEventsBuilderList()

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

Returns
Type Description
List<Builder>

getEventsCount()

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

getEventsList()

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

Returns
Type Description
List<Event>

getEventsOrBuilder(int index)

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
Returns
Type Description
MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.EventOrBuilder

getEventsOrBuilderList()

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>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeEvents(int index)

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

setEvents(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event value)

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

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

setEvents(int index, MemoryBankCustomizationConfig.GenerateMemoriesExample.ConversationSource.Event.Builder builderForValue)

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

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