Interface GenerateMemoriesRequestOrBuilder (3.68.0)

public interface GenerateMemoriesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsScope(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
boolean

getDirectContentsSource()

public abstract 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
Type Description
GenerateMemoriesRequest.DirectContentsSource

The directContentsSource.

getDirectContentsSourceOrBuilder()

public abstract 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;

Returns
Type Description
GenerateMemoriesRequest.DirectContentsSourceOrBuilder

getDisableConsolidation()

public abstract 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
Type Description
boolean

The disableConsolidation.

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getScope() (deprecated)

public abstract Map<String,String> getScope()

Use #getScopeMap() instead.

Returns
Type Description
Map<String,String>

getScopeCount()

public abstract 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];

Returns
Type Description
int

getScopeMap()

public abstract 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];

Returns
Type Description
Map<String,String>

getScopeOrDefault(String key, String defaultValue)

public abstract 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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getScopeOrThrow(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
String

getSourceCase()

public abstract GenerateMemoriesRequest.SourceCase getSourceCase()
Returns
Type Description
GenerateMemoriesRequest.SourceCase

getVertexSessionSource()

public abstract 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
Type Description
GenerateMemoriesRequest.VertexSessionSource

The vertexSessionSource.

getVertexSessionSourceOrBuilder()

public abstract 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;

Returns
Type Description
GenerateMemoriesRequest.VertexSessionSourceOrBuilder

hasDirectContentsSource()

public abstract 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
Type Description
boolean

Whether the directContentsSource field is set.

hasVertexSessionSource()

public abstract 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
Type Description
boolean

Whether the vertexSessionSource field is set.