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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig build()
buildPartial()
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig buildPartial()
clear()
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder clearField(Descriptors.FieldDescriptor field)
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];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder clone()
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];
getCreateTtlOrBuilder()
public DurationOrBuilder getCreateTtlOrBuilder()
Optional. The TTL duration for memories uploaded via CreateMemory.
.google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
getDefaultInstanceForType()
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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
|
mergeFrom(ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig other)
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeFrom(ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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
|
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
|
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides