public static interface ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCreateTtl()
public abstract 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. |
getCreateTtlOrBuilder()
public abstract 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 |
getGenerateCreatedTtl()
public abstract 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. |
getGenerateCreatedTtlOrBuilder()
public abstract 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 abstract 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. |
getGenerateUpdatedTtlOrBuilder()
public abstract 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 abstract 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 abstract 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 abstract 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. |