public static final class ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder extends GeneratedMessage.Builder<ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder> implements ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilderConfiguration 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
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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 |
|
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 |
|
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|
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 |
|
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 |
|