Interface MemoryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Memory, Memory.Builder

@Generated public interface MemoryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasExpireTime

      boolean hasExpireTime()
       Optional. Timestamp of when this resource is considered expired.
       This is *always* provided on output, regardless of what `expiration` was
       sent on input.
       
      .google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the expireTime field is set.
    • getExpireTime

      com.google.protobuf.Timestamp getExpireTime()
       Optional. Timestamp of when this resource is considered expired.
       This is *always* provided on output, regardless of what `expiration` was
       sent on input.
       
      .google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The expireTime.
    • getExpireTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
       Optional. Timestamp of when this resource is considered expired.
       This is *always* provided on output, regardless of what `expiration` was
       sent on input.
       
      .google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
    • hasTtl

      boolean hasTtl()
       Optional. Input only. The TTL for this resource. The expiration time is
       computed: now + TTL.
       
      .google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the ttl field is set.
    • getTtl

      com.google.protobuf.Duration getTtl()
       Optional. Input only. The TTL for this resource. The expiration time is
       computed: now + TTL.
       
      .google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The ttl.
    • getTtlOrBuilder

      com.google.protobuf.DurationOrBuilder getTtlOrBuilder()
       Optional. Input only. The TTL for this resource. The expiration time is
       computed: now + TTL.
       
      .google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getName

      String getName()
       Identifier. The resource name of the Memory.
       Format:
       `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. The resource name of the Memory.
       Format:
       `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}`
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       Optional. Display name of the Memory.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Optional. Display name of the Memory.
       
      string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for displayName.
    • getDescription

      String getDescription()
       Optional. Description of the Memory.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Optional. Description of the Memory.
       
      string description = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for description.
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Timestamp when this Memory was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp when this Memory was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when this Memory was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. Timestamp when this Memory was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. Timestamp when this Memory was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. Timestamp when this Memory was most recently updated.
       
      .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getFact

      String getFact()
       Required. Semantic knowledge extracted from the source content.
       
      string fact = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The fact.
    • getFactBytes

      com.google.protobuf.ByteString getFactBytes()
       Required. Semantic knowledge extracted from the source content.
       
      string fact = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for fact.
    • getScopeCount

      int getScopeCount()
       Required. Immutable. The scope of the Memory. Memories are isolated
       within their scope. The scope is defined when creating or generating
       memories. Scope values cannot contain the wildcard character '*'.
       
      map<string, string> scope = 11 [(.google.api.field_behavior) = REQUIRED];
    • containsScope

      boolean containsScope(String key)
       Required. Immutable. The scope of the Memory. Memories are isolated
       within their scope. The scope is defined when creating or generating
       memories. Scope values cannot contain the wildcard character '*'.
       
      map<string, string> scope = 11 [(.google.api.field_behavior) = REQUIRED];
    • getScope

      Deprecated.
      Use getScopeMap() instead.
    • getScopeMap

      Map<String,String> getScopeMap()
       Required. Immutable. The scope of the Memory. Memories are isolated
       within their scope. The scope is defined when creating or generating
       memories. Scope values cannot contain the wildcard character '*'.
       
      map<string, string> scope = 11 [(.google.api.field_behavior) = REQUIRED];
    • getScopeOrDefault

      String getScopeOrDefault(String key, String defaultValue)
       Required. Immutable. The scope of the Memory. Memories are isolated
       within their scope. The scope is defined when creating or generating
       memories. Scope values cannot contain the wildcard character '*'.
       
      map<string, string> scope = 11 [(.google.api.field_behavior) = REQUIRED];
    • getScopeOrThrow

      String getScopeOrThrow(String key)
       Required. Immutable. The scope of the Memory. Memories are isolated
       within their scope. The scope is defined when creating or generating
       memories. Scope values cannot contain the wildcard character '*'.
       
      map<string, string> scope = 11 [(.google.api.field_behavior) = REQUIRED];
    • getExpirationCase

      Memory.ExpirationCase getExpirationCase()