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 Summary
Modifier and TypeMethodDescriptionbooleancontainsScope(String key) Optional.Defines a direct source of content as the source content from which to generate memories.Defines a direct source of content as the source content from which to generate memories.Defines a direct source of memories that should be uploaded to Memory Bank.Defines a direct source of memories that should be uploaded to Memory Bank.booleanOptional.Required.com.google.protobuf.ByteStringRequired.getScope()Deprecated.intOptional.Optional.getScopeOrDefault(String key, String defaultValue) Optional.getScopeOrThrow(String key) Optional.Defines a Vertex Session as the source content from which to generate memories.Defines a Vertex Session as the source content from which to generate memories.booleanDefines a direct source of content as the source content from which to generate memories.booleanDefines a direct source of memories that should be uploaded to Memory Bank.booleanDefines a Vertex Session as the source content from which to generate memories.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
GenerateMemoriesRequest.VertexSessionSource 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
GenerateMemoriesRequest.DirectContentsSource 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
GenerateMemoriesRequest.DirectMemoriesSource 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
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.UsegetScopeMap()instead. -
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
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
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
GenerateMemoriesRequest.SourceCase getSourceCase()
-