Class ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder (3.73.0)

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

Configuration for automatically setting the TTL ("time-to-live") of the memories in the Memory Bank.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

clearDefaultTtl()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder clearDefaultTtl()

Optional. The default TTL duration of the memories in the Memory Bank. This applies to all operations that create or update a memory.

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

Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearGranularTtlConfig()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder clearGranularTtlConfig()

Optional. The granular TTL configuration of the memories in the Memory Bank.

.google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig granular_ttl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTtl()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder clearTtl()
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder

clone()

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

getDefaultInstanceForType()

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

getDefaultTtl()

public Duration getDefaultTtl()

Optional. The default TTL duration of the memories in the Memory Bank. This applies to all operations that create or update a memory.

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

Returns
Type Description
Duration

The defaultTtl.

getDefaultTtlBuilder()

public Duration.Builder getDefaultTtlBuilder()

Optional. The default TTL duration of the memories in the Memory Bank. This applies to all operations that create or update a memory.

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

Returns
Type Description
Builder

getDefaultTtlOrBuilder()

public DurationOrBuilder getDefaultTtlOrBuilder()

Optional. The default TTL duration of the memories in the Memory Bank. This applies to all operations that create or update a memory.

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

Returns
Type Description
DurationOrBuilder

getDescriptorForType()

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

getGranularTtlConfig()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig getGranularTtlConfig()

Optional. The granular TTL configuration of the memories in the Memory Bank.

.google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig granular_ttl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig

The granularTtlConfig.

getGranularTtlConfigBuilder()

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

Optional. The granular TTL configuration of the memories in the Memory Bank.

.google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig granular_ttl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

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

getGranularTtlConfigOrBuilder()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder getGranularTtlConfigOrBuilder()

Optional. The granular TTL configuration of the memories in the Memory Bank.

.google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig granular_ttl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder

getTtlCase()

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.TtlCase getTtlCase()
Returns
Type Description
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.TtlCase

hasDefaultTtl()

public boolean hasDefaultTtl()

Optional. The default TTL duration of the memories in the Memory Bank. This applies to all operations that create or update a memory.

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

Returns
Type Description
boolean

Whether the defaultTtl field is set.

hasGranularTtlConfig()

public boolean hasGranularTtlConfig()

Optional. The granular TTL configuration of the memories in the Memory Bank.

.google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig granular_ttl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the granularTtlConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDefaultTtl(Duration value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder mergeDefaultTtl(Duration value)

Optional. The default TTL duration of the memories in the Memory Bank. This applies to all operations that create or update a memory.

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

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

mergeFrom(ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGranularTtlConfig(ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder mergeGranularTtlConfig(ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig value)

Optional. The granular TTL configuration of the memories in the Memory Bank.

.google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig granular_ttl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDefaultTtl(Duration value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder setDefaultTtl(Duration value)

Optional. The default TTL duration of the memories in the Memory Bank. This applies to all operations that create or update a memory.

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

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

setDefaultTtl(Duration.Builder builderForValue)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder setDefaultTtl(Duration.Builder builderForValue)

Optional. The default TTL duration of the memories in the Memory Bank. This applies to all operations that create or update a memory.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGranularTtlConfig(ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig value)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder setGranularTtlConfig(ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig value)

Optional. The granular TTL configuration of the memories in the Memory Bank.

.google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig granular_ttl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

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

setGranularTtlConfig(ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder builderForValue)

public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.Builder setGranularTtlConfig(ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder builderForValue)

Optional. The granular TTL configuration of the memories in the Memory Bank.

.google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig granular_ttl_config = 2 [(.google.api.field_behavior) = OPTIONAL];

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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