Class ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder>
com.google.cloud.aiplatform.v1beta1.ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder
All Implemented Interfaces:
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig

public static final class ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder>
    • getDefaultInstanceForType

      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder>
    • mergeFrom

      public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder>
      Throws:
      IOException
    • hasCreateTtl

      public boolean hasCreateTtl()
       Optional. The TTL duration for memories uploaded via CreateMemory.
       
      .google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasCreateTtl in interface ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder
      Returns:
      Whether the createTtl field is set.
    • getCreateTtl

      public com.google.protobuf.Duration getCreateTtl()
       Optional. The TTL duration for memories uploaded via CreateMemory.
       
      .google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCreateTtl in interface ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder
      Returns:
      The createTtl.
    • setCreateTtl

      public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setCreateTtl(com.google.protobuf.Duration value)
       Optional. The TTL duration for memories uploaded via CreateMemory.
       
      .google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
    • setCreateTtl

      public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setCreateTtl(com.google.protobuf.Duration.Builder builderForValue)
       Optional. The TTL duration for memories uploaded via CreateMemory.
       
      .google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
    • mergeCreateTtl

      public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeCreateTtl(com.google.protobuf.Duration value)
       Optional. The TTL duration for memories uploaded via CreateMemory.
       
      .google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
    • clearCreateTtl

       Optional. The TTL duration for memories uploaded via CreateMemory.
       
      .google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
    • getCreateTtlBuilder

      public com.google.protobuf.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 com.google.protobuf.DurationOrBuilder getCreateTtlOrBuilder()
       Optional. The TTL duration for memories uploaded via CreateMemory.
       
      .google.protobuf.Duration create_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCreateTtlOrBuilder in interface ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder
    • hasGenerateCreatedTtl

      public boolean hasGenerateCreatedTtl()
       Optional. The TTL duration for memories newly generated via
       GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.GenerateMemoriesResponse.GeneratedMemory.Action.CREATED]).
       
      .google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGenerateCreatedTtl in interface ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder
      Returns:
      Whether the generateCreatedTtl field is set.
    • getGenerateCreatedTtl

      public com.google.protobuf.Duration getGenerateCreatedTtl()
       Optional. The TTL duration for memories newly generated via
       GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.GenerateMemoriesResponse.GeneratedMemory.Action.CREATED]).
       
      .google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGenerateCreatedTtl in interface ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder
      Returns:
      The generateCreatedTtl.
    • setGenerateCreatedTtl

      public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setGenerateCreatedTtl(com.google.protobuf.Duration value)
       Optional. The TTL duration for memories newly generated via
       GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.GenerateMemoriesResponse.GeneratedMemory.Action.CREATED]).
       
      .google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setGenerateCreatedTtl

      public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setGenerateCreatedTtl(com.google.protobuf.Duration.Builder builderForValue)
       Optional. The TTL duration for memories newly generated via
       GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.GenerateMemoriesResponse.GeneratedMemory.Action.CREATED]).
       
      .google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeGenerateCreatedTtl

      public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeGenerateCreatedTtl(com.google.protobuf.Duration value)
       Optional. The TTL duration for memories newly generated via
       GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.GenerateMemoriesResponse.GeneratedMemory.Action.CREATED]).
       
      .google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearGenerateCreatedTtl

       Optional. The TTL duration for memories newly generated via
       GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.GenerateMemoriesResponse.GeneratedMemory.Action.CREATED]).
       
      .google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getGenerateCreatedTtlBuilder

      public com.google.protobuf.Duration.Builder getGenerateCreatedTtlBuilder()
       Optional. The TTL duration for memories newly generated via
       GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.GenerateMemoriesResponse.GeneratedMemory.Action.CREATED]).
       
      .google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getGenerateCreatedTtlOrBuilder

      public com.google.protobuf.DurationOrBuilder getGenerateCreatedTtlOrBuilder()
       Optional. The TTL duration for memories newly generated via
       GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.GenerateMemoriesResponse.GeneratedMemory.Action.CREATED]).
       
      .google.protobuf.Duration generate_created_ttl = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGenerateCreatedTtlOrBuilder in interface ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder
    • hasGenerateUpdatedTtl

      public boolean hasGenerateUpdatedTtl()
       Optional. The TTL duration for memories updated via GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.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];
      Specified by:
      hasGenerateUpdatedTtl in interface ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder
      Returns:
      Whether the generateUpdatedTtl field is set.
    • getGenerateUpdatedTtl

      public com.google.protobuf.Duration getGenerateUpdatedTtl()
       Optional. The TTL duration for memories updated via GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.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];
      Specified by:
      getGenerateUpdatedTtl in interface ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder
      Returns:
      The generateUpdatedTtl.
    • setGenerateUpdatedTtl

      public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setGenerateUpdatedTtl(com.google.protobuf.Duration value)
       Optional. The TTL duration for memories updated via GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.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];
    • setGenerateUpdatedTtl

      public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder setGenerateUpdatedTtl(com.google.protobuf.Duration.Builder builderForValue)
       Optional. The TTL duration for memories updated via GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.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];
    • mergeGenerateUpdatedTtl

      public ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfig.Builder mergeGenerateUpdatedTtl(com.google.protobuf.Duration value)
       Optional. The TTL duration for memories updated via GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.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];
    • clearGenerateUpdatedTtl

       Optional. The TTL duration for memories updated via GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.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];
    • getGenerateUpdatedTtlBuilder

      public com.google.protobuf.Duration.Builder getGenerateUpdatedTtlBuilder()
       Optional. The TTL duration for memories updated via GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.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 com.google.protobuf.DurationOrBuilder getGenerateUpdatedTtlOrBuilder()
       Optional. The TTL duration for memories updated via GenerateMemories
       ([GenerateMemoriesResponse.GeneratedMemory.Action.CREATED][google.cloud.aiplatform.v1beta1.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];
      Specified by:
      getGenerateUpdatedTtlOrBuilder in interface ReasoningEngineContextSpec.MemoryBankConfig.TtlConfig.GranularTtlConfigOrBuilder