Class ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder (3.73.0)

public static final class ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder extends GeneratedMessageV3.Builder<ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder> implements ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder

Configuration for TTL of the memories in the Memory Bank based on the action that created or updated the memory.

Protobuf type google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
Overrides

build()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig build()
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig

buildPartial()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig buildPartial()
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig

clear()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder clear()
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
Overrides

clearCreateTtl()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder clearCreateTtl()

Optional. The TTL duration for memories uploaded via CreateMemory.

.google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
Overrides

clearGenerateCreatedTtl()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder clearGenerateCreatedTtl()

Optional. The TTL duration for memories newly generated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).

.google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

clearGenerateUpdatedTtl()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder clearGenerateUpdatedTtl()

Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED). In the case of an UPDATE action, the expire_time of the existing memory will be updated to the new value (now + TTL).

.google.protobuf.Duration generate_updated_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
Overrides

clone()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder clone()
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
Overrides

getCreateTtl()

public Duration getCreateTtl()

Optional. The TTL duration for memories uploaded via CreateMemory.

.google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The createTtl.

getCreateTtlBuilder()

public Duration.Builder getCreateTtlBuilder()

Optional. The TTL duration for memories uploaded via CreateMemory.

.google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getCreateTtlOrBuilder()

public DurationOrBuilder getCreateTtlOrBuilder()

Optional. The TTL duration for memories uploaded via CreateMemory.

.google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getDefaultInstanceForType()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig getDefaultInstanceForType()
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig

getDescriptorForType()

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

getGenerateCreatedTtl()

public Duration getGenerateCreatedTtl()

Optional. The TTL duration for memories newly generated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).

.google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The generateCreatedTtl.

getGenerateCreatedTtlBuilder()

public Duration.Builder getGenerateCreatedTtlBuilder()

Optional. The TTL duration for memories newly generated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).

.google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getGenerateCreatedTtlOrBuilder()

public DurationOrBuilder getGenerateCreatedTtlOrBuilder()

Optional. The TTL duration for memories newly generated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).

.google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getGenerateUpdatedTtl()

public Duration getGenerateUpdatedTtl()

Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED). In the case of an UPDATE action, the expire_time of the existing memory will be updated to the new value (now + TTL).

.google.protobuf.Duration generate_updated_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The generateUpdatedTtl.

getGenerateUpdatedTtlBuilder()

public Duration.Builder getGenerateUpdatedTtlBuilder()

Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED). In the case of an UPDATE action, the expire_time of the existing memory will be updated to the new value (now + TTL).

.google.protobuf.Duration generate_updated_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getGenerateUpdatedTtlOrBuilder()

public DurationOrBuilder getGenerateUpdatedTtlOrBuilder()

Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED). In the case of an UPDATE action, the expire_time of the existing memory will be updated to the new value (now + TTL).

.google.protobuf.Duration generate_updated_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

hasCreateTtl()

public boolean hasCreateTtl()

Optional. The TTL duration for memories uploaded via CreateMemory.

.google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the createTtl field is set.

hasGenerateCreatedTtl()

public boolean hasGenerateCreatedTtl()

Optional. The TTL duration for memories newly generated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).

.google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the generateCreatedTtl field is set.

hasGenerateUpdatedTtl()

public boolean hasGenerateUpdatedTtl()

Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED). In the case of an UPDATE action, the expire_time of the existing memory will be updated to the new value (now + TTL).

.google.protobuf.Duration generate_updated_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the generateUpdatedTtl field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTtl(Duration value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeCreateTtl(Duration value)

Optional. The TTL duration for memories uploaded via CreateMemory.

.google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

mergeFrom(ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig other)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeFrom(ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig other)
Parameter
Name Description
other ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
Overrides

mergeGenerateCreatedTtl(Duration value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeGenerateCreatedTtl(Duration value)

Optional. The TTL duration for memories newly generated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).

.google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

mergeGenerateUpdatedTtl(Duration value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeGenerateUpdatedTtl(Duration value)

Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED). In the case of an UPDATE action, the expire_time of the existing memory will be updated to the new value (now + TTL).

.google.protobuf.Duration generate_updated_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
Overrides

setCreateTtl(Duration value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setCreateTtl(Duration value)

Optional. The TTL duration for memories uploaded via CreateMemory.

.google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

setCreateTtl(Duration.Builder builderForValue)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setCreateTtl(Duration.Builder builderForValue)

Optional. The TTL duration for memories uploaded via CreateMemory.

.google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
Overrides

setGenerateCreatedTtl(Duration value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setGenerateCreatedTtl(Duration value)

Optional. The TTL duration for memories newly generated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).

.google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

setGenerateCreatedTtl(Duration.Builder builderForValue)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setGenerateCreatedTtl(Duration.Builder builderForValue)

Optional. The TTL duration for memories newly generated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED).

.google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

setGenerateUpdatedTtl(Duration value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setGenerateUpdatedTtl(Duration value)

Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED). In the case of an UPDATE action, the expire_time of the existing memory will be updated to the new value (now + TTL).

.google.protobuf.Duration generate_updated_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

setGenerateUpdatedTtl(Duration.Builder builderForValue)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setGenerateUpdatedTtl(Duration.Builder builderForValue)

Optional. The TTL duration for memories updated via GenerateMemories (GenerateMemoriesResponse.GeneratedMemory.Action.CREATED). In the case of an UPDATE action, the expire_time of the existing memory will be updated to the new value (now + TTL).

.google.protobuf.Duration generate_updated_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
Overrides