Interface MemoryRevisionOrBuilder (3.100.0)

public interface MemoryRevisionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Output only. Represents the labels of the Memory Revision. These labels are applied to the MemoryRevision when it is created based on GenerateMemoriesRequest.revision_labels.

map<string, string> labels = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
boolean

getContext()

public abstract String getContext()

Output only. Represents the context of the Memory Revision. The context may include context from both the historical revisions and the extracted content.

string context = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The context.

getContextBytes()

public abstract ByteString getContextBytes()

Output only. Represents the context of the Memory Revision. The context may include context from both the historical revisions and the extracted content.

string context = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for context.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Represents the timestamp when this Memory Revision was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Represents the timestamp when this Memory Revision was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getExpireTime()

public abstract Timestamp getExpireTime()

Output only. Represents the timestamp of when this resource is considered expired.

.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The expireTime.

getExpireTimeOrBuilder()

public abstract TimestampOrBuilder getExpireTimeOrBuilder()

Output only. Represents the timestamp of when this resource is considered expired.

.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getExtractedMemories(int index)

public abstract IntermediateExtractedMemory getExtractedMemories(int index)

Output only. Represents the extracted memories from the source content before consolidation when the memory was updated via GenerateMemories. This information was used to modify an existing Memory via Consolidation.

repeated .google.cloud.aiplatform.v1beta1.IntermediateExtractedMemory extracted_memories = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
IntermediateExtractedMemory

getExtractedMemoriesCount()

public abstract int getExtractedMemoriesCount()

Output only. Represents the extracted memories from the source content before consolidation when the memory was updated via GenerateMemories. This information was used to modify an existing Memory via Consolidation.

repeated .google.cloud.aiplatform.v1beta1.IntermediateExtractedMemory extracted_memories = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getExtractedMemoriesList()

public abstract List<IntermediateExtractedMemory> getExtractedMemoriesList()

Output only. Represents the extracted memories from the source content before consolidation when the memory was updated via GenerateMemories. This information was used to modify an existing Memory via Consolidation.

repeated .google.cloud.aiplatform.v1beta1.IntermediateExtractedMemory extracted_memories = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<IntermediateExtractedMemory>

getExtractedMemoriesOrBuilder(int index)

public abstract IntermediateExtractedMemoryOrBuilder getExtractedMemoriesOrBuilder(int index)

Output only. Represents the extracted memories from the source content before consolidation when the memory was updated via GenerateMemories. This information was used to modify an existing Memory via Consolidation.

repeated .google.cloud.aiplatform.v1beta1.IntermediateExtractedMemory extracted_memories = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
IntermediateExtractedMemoryOrBuilder

getExtractedMemoriesOrBuilderList()

public abstract List<? extends IntermediateExtractedMemoryOrBuilder> getExtractedMemoriesOrBuilderList()

Output only. Represents the extracted memories from the source content before consolidation when the memory was updated via GenerateMemories. This information was used to modify an existing Memory via Consolidation.

repeated .google.cloud.aiplatform.v1beta1.IntermediateExtractedMemory extracted_memories = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.aiplatform.v1beta1.IntermediateExtractedMemoryOrBuilder>

getFact()

public abstract String getFact()

Output only. Represents the fact of the Memory Revision. This corresponds to the fact field of the parent Memory at the time of revision creation.

string fact = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The fact.

getFactBytes()

public abstract ByteString getFactBytes()

Output only. Represents the fact of the Memory Revision. This corresponds to the fact field of the parent Memory at the time of revision creation.

string fact = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for fact.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Output only. Represents the labels of the Memory Revision. These labels are applied to the MemoryRevision when it is created based on GenerateMemoriesRequest.revision_labels.

map<string, string> labels = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Output only. Represents the labels of the Memory Revision. These labels are applied to the MemoryRevision when it is created based on GenerateMemoriesRequest.revision_labels.

map<string, string> labels = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Output only. Represents the labels of the Memory Revision. These labels are applied to the MemoryRevision when it is created based on GenerateMemoriesRequest.revision_labels.

map<string, string> labels = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Output only. Represents the labels of the Memory Revision. These labels are applied to the MemoryRevision when it is created based on GenerateMemoriesRequest.revision_labels.

map<string, string> labels = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
key String
Returns
Type Description
String

getName()

public abstract String getName()

Identifier. Represents the resource name of the Memory Revision. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}/revisions/{memory_revision}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Represents the resource name of the Memory Revision. Format: projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}/revisions/{memory_revision}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getStructuredData()

public abstract Struct getStructuredData()

Output only. Represents the structured value of the memory at the time of revision creation.

.google.protobuf.Struct structured_data = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Struct

The structuredData.

getStructuredDataOrBuilder()

public abstract StructOrBuilder getStructuredDataOrBuilder()

Output only. Represents the structured value of the memory at the time of revision creation.

.google.protobuf.Struct structured_data = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
StructOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Represents the timestamp when this Memory Revision was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasExpireTime()

public abstract boolean hasExpireTime()

Output only. Represents the timestamp of when this resource is considered expired.

.google.protobuf.Timestamp expire_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the expireTime field is set.

hasStructuredData()

public abstract boolean hasStructuredData()

Output only. Represents the structured value of the memory at the time of revision creation.

.google.protobuf.Struct structured_data = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the structuredData field is set.