Interface GenerateMemoriesRequestOrBuilder

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

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

    • hasVertexSessionSource

      boolean hasVertexSessionSource()
       Defines a Vertex Session as the source content from which to generate
       memories.
       
      .google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.VertexSessionSource vertex_session_source = 2;
      Returns:
      Whether the vertexSessionSource field is set.
    • getVertexSessionSource

       Defines a Vertex Session as the source content from which to generate
       memories.
       
      .google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.VertexSessionSource vertex_session_source = 2;
      Returns:
      The vertexSessionSource.
    • getVertexSessionSourceOrBuilder

      GenerateMemoriesRequest.VertexSessionSourceOrBuilder getVertexSessionSourceOrBuilder()
       Defines a Vertex Session as the source content from which to generate
       memories.
       
      .google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.VertexSessionSource vertex_session_source = 2;
    • hasDirectContentsSource

      boolean hasDirectContentsSource()
       Defines a direct source of content as the source content from which to
       generate memories.
       
      .google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.DirectContentsSource direct_contents_source = 3;
      Returns:
      Whether the directContentsSource field is set.
    • getDirectContentsSource

       Defines a direct source of content as the source content from which to
       generate memories.
       
      .google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.DirectContentsSource direct_contents_source = 3;
      Returns:
      The directContentsSource.
    • getDirectContentsSourceOrBuilder

      GenerateMemoriesRequest.DirectContentsSourceOrBuilder getDirectContentsSourceOrBuilder()
       Defines a direct source of content as the source content from which to
       generate memories.
       
      .google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.DirectContentsSource direct_contents_source = 3;
    • hasDirectMemoriesSource

      boolean hasDirectMemoriesSource()
       Defines a direct source of memories that should be uploaded to Memory
       Bank. This is similar to `CreateMemory`, but it allows for consolidation
       between these new memories and existing memories for the same scope.
       
      .google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.DirectMemoriesSource direct_memories_source = 9;
      Returns:
      Whether the directMemoriesSource field is set.
    • getDirectMemoriesSource

       Defines a direct source of memories that should be uploaded to Memory
       Bank. This is similar to `CreateMemory`, but it allows for consolidation
       between these new memories and existing memories for the same scope.
       
      .google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.DirectMemoriesSource direct_memories_source = 9;
      Returns:
      The directMemoriesSource.
    • getDirectMemoriesSourceOrBuilder

      GenerateMemoriesRequest.DirectMemoriesSourceOrBuilder getDirectMemoriesSourceOrBuilder()
       Defines a direct source of memories that should be uploaded to Memory
       Bank. This is similar to `CreateMemory`, but it allows for consolidation
       between these new memories and existing memories for the same scope.
       
      .google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.DirectMemoriesSource direct_memories_source = 9;
    • getParent

      String getParent()
       Required. The resource name of the ReasoningEngine to generate memories
       for. Format:
       `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The resource name of the ReasoningEngine to generate memories
       for. Format:
       `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getDisableConsolidation

      boolean getDisableConsolidation()
       Optional. If true, generated memories will not be consolidated with
       existing memories; all generated memories will be added as new memories
       regardless of whether they are duplicates of or contradictory to existing
       memories. By default, memory consolidation is enabled.
       
      bool disable_consolidation = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The disableConsolidation.
    • getScopeCount

      int getScopeCount()
       Optional. The scope of the memories that should be generated. Memories will
       be consolidated across memories with the same scope. Must be provided
       unless the scope is defined in the source content. If `scope` is provided,
       it will override the scope defined in the source content. Scope values
       cannot contain the wildcard character '*'.
       
      map<string, string> scope = 8 [(.google.api.field_behavior) = OPTIONAL];
    • containsScope

      boolean containsScope(String key)
       Optional. The scope of the memories that should be generated. Memories will
       be consolidated across memories with the same scope. Must be provided
       unless the scope is defined in the source content. If `scope` is provided,
       it will override the scope defined in the source content. Scope values
       cannot contain the wildcard character '*'.
       
      map<string, string> scope = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getScope

      Deprecated.
      Use getScopeMap() instead.
    • getScopeMap

      Map<String,String> getScopeMap()
       Optional. The scope of the memories that should be generated. Memories will
       be consolidated across memories with the same scope. Must be provided
       unless the scope is defined in the source content. If `scope` is provided,
       it will override the scope defined in the source content. Scope values
       cannot contain the wildcard character '*'.
       
      map<string, string> scope = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getScopeOrDefault

      String getScopeOrDefault(String key, String defaultValue)
       Optional. The scope of the memories that should be generated. Memories will
       be consolidated across memories with the same scope. Must be provided
       unless the scope is defined in the source content. If `scope` is provided,
       it will override the scope defined in the source content. Scope values
       cannot contain the wildcard character '*'.
       
      map<string, string> scope = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getScopeOrThrow

      String getScopeOrThrow(String key)
       Optional. The scope of the memories that should be generated. Memories will
       be consolidated across memories with the same scope. Must be provided
       unless the scope is defined in the source content. If `scope` is provided,
       it will override the scope defined in the source content. Scope values
       cannot contain the wildcard character '*'.
       
      map<string, string> scope = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getSourceCase