public static final class Memory.Builder extends GeneratedMessage.Builder<Memory.Builder> implements MemoryOrBuilderA memory.
Protobuf type google.cloud.aiplatform.v1beta1.Memory
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Memory.BuilderImplements
MemoryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllTopics(Iterable<? extends MemoryTopicId> values)
public Memory.Builder addAllTopics(Iterable<? extends MemoryTopicId> values)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.MemoryTopicId> |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
addTopics(MemoryTopicId value)
public Memory.Builder addTopics(MemoryTopicId value)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
MemoryTopicId |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
addTopics(MemoryTopicId.Builder builderForValue)
public Memory.Builder addTopics(MemoryTopicId.Builder builderForValue)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MemoryTopicId.Builder |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
addTopics(int index, MemoryTopicId value)
public Memory.Builder addTopics(int index, MemoryTopicId value)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MemoryTopicId |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
addTopics(int index, MemoryTopicId.Builder builderForValue)
public Memory.Builder addTopics(int index, MemoryTopicId.Builder builderForValue)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MemoryTopicId.Builder |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
addTopicsBuilder()
public MemoryTopicId.Builder addTopicsBuilder()Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MemoryTopicId.Builder |
|
addTopicsBuilder(int index)
public MemoryTopicId.Builder addTopicsBuilder(int index)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MemoryTopicId.Builder |
|
build()
public Memory build()| Returns | |
|---|---|
| Type | Description |
Memory |
|
buildPartial()
public Memory buildPartial()| Returns | |
|---|---|
| Type | Description |
Memory |
|
clear()
public Memory.Builder clear()| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearContext()
public Memory.Builder clearContext()Optional. Represents the context of the memory.
string context = 25 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
clearCreateTime()
public Memory.Builder clearCreateTime()Output only. Represents the timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearDescription()
public Memory.Builder clearDescription()Optional. Represents the description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
clearDisableMemoryRevisions()
public Memory.Builder clearDisableMemoryRevisions()Optional. Input only. Indicates whether no revision will be created for this request.
bool disable_memory_revisions = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
clearDisplayName()
public Memory.Builder clearDisplayName()Optional. Represents the display name of the Memory.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
clearExpiration()
public Memory.Builder clearExpiration()| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearExpireTime()
public Memory.Builder clearExpireTime() Optional. Represents the timestamp of when this resource is considered
expired. This is always provided on output when expiration is set on
input, regardless of whether expire_time or ttl was provided.
.google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearFact()
public Memory.Builder clearFact()Optional. Represents semantic knowledge extracted from the source content.
string fact = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
clearMemoryType()
public Memory.Builder clearMemoryType() Optional. Represents the type of the memory. If not set, the
NATURAL_LANGUAGE_COLLECTION type is used. If STRUCTURED_COLLECTION or
STRUCTURED_PROFILE is used, then structured_data must be provided.
.google.cloud.aiplatform.v1beta1.MemoryType memory_type = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
clearMetadata()
public Memory.Builder clearMetadata()| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearName()
public Memory.Builder clearName() Identifier. Represents 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 | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
clearRevisionExpiration()
public Memory.Builder clearRevisionExpiration()| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearRevisionExpireTime()
public Memory.Builder clearRevisionExpireTime()Optional. Input only. Represents the timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.
.google.protobuf.Timestamp revision_expire_time = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearRevisionLabels()
public Memory.Builder clearRevisionLabels()| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearRevisionTtl()
public Memory.Builder clearRevisionTtl()Optional. Input only. Represents the TTL for the revision. The expiration time is computed: now + TTL.
.google.protobuf.Duration revision_ttl = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearScope()
public Memory.Builder clearScope()| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearStructuredContent()
public Memory.Builder clearStructuredContent()Optional. Represents the structured content of the memory.
.google.cloud.aiplatform.v1beta1.Memory.StructuredContent structured_content = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearTopics()
public Memory.Builder clearTopics()Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearTtl()
public Memory.Builder clearTtl()Optional. Input only. Represents the TTL for this resource. The expiration time is computed: now + TTL.
.google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
clearUpdateTime()
public Memory.Builder clearUpdateTime()Output only. Represents the timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
containsMetadata(String key)
public boolean containsMetadata(String key)Optional. Represents user-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.
map<string, .google.cloud.aiplatform.v1beta1.MemoryMetadataValue> metadata = 21 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsRevisionLabels(String key)
public boolean containsRevisionLabels(String key)Optional. Input only. Represents the labels to apply to the Memory Revision created as a result of this request.
map<string, string> revision_labels = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
containsScope(String key)
public boolean containsScope(String key)Required. Immutable. Represents 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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getContext()
public String getContext()Optional. Represents the context of the memory.
string context = 25 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The context. |
getContextBytes()
public ByteString getContextBytes()Optional. Represents the context of the memory.
string context = 25 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for context. |
getCreateTime()
public Timestamp getCreateTime()Output only. Represents the timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Represents the timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Represents the timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getDefaultInstanceForType()
public Memory getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Memory |
|
getDescription()
public String getDescription()Optional. Represents the description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()Optional. Represents the description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisableMemoryRevisions()
public boolean getDisableMemoryRevisions()Optional. Input only. Indicates whether no revision will be created for this request.
bool disable_memory_revisions = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The disableMemoryRevisions. |
getDisplayName()
public String getDisplayName()Optional. Represents the display name of the Memory.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Optional. Represents the display name of the Memory.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getExpirationCase()
public Memory.ExpirationCase getExpirationCase()| Returns | |
|---|---|
| Type | Description |
Memory.ExpirationCase |
|
getExpireTime()
public Timestamp getExpireTime() Optional. Represents the timestamp of when this resource is considered
expired. This is always provided on output when expiration is set on
input, regardless of whether expire_time or ttl was provided.
.google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The expireTime. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder() Optional. Represents the timestamp of when this resource is considered
expired. This is always provided on output when expiration is set on
input, regardless of whether expire_time or ttl was provided.
.google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder() Optional. Represents the timestamp of when this resource is considered
expired. This is always provided on output when expiration is set on
input, regardless of whether expire_time or ttl was provided.
.google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getFact()
public String getFact()Optional. Represents semantic knowledge extracted from the source content.
string fact = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The fact. |
getFactBytes()
public ByteString getFactBytes()Optional. Represents semantic knowledge extracted from the source content.
string fact = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for fact. |
getMemoryType()
public MemoryType getMemoryType() Optional. Represents the type of the memory. If not set, the
NATURAL_LANGUAGE_COLLECTION type is used. If STRUCTURED_COLLECTION or
STRUCTURED_PROFILE is used, then structured_data must be provided.
.google.cloud.aiplatform.v1beta1.MemoryType memory_type = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MemoryType |
The memoryType. |
getMemoryTypeValue()
public int getMemoryTypeValue() Optional. Represents the type of the memory. If not set, the
NATURAL_LANGUAGE_COLLECTION type is used. If STRUCTURED_COLLECTION or
STRUCTURED_PROFILE is used, then structured_data must be provided.
.google.cloud.aiplatform.v1beta1.MemoryType memory_type = 22 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for memoryType. |
getMetadata() (deprecated)
public Map<String,MemoryMetadataValue> getMetadata()Use #getMetadataMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,MemoryMetadataValue> |
|
getMetadataCount()
public int getMetadataCount()Optional. Represents user-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.
map<string, .google.cloud.aiplatform.v1beta1.MemoryMetadataValue> metadata = 21 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getMetadataMap()
public Map<String,MemoryMetadataValue> getMetadataMap()Optional. Represents user-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.
map<string, .google.cloud.aiplatform.v1beta1.MemoryMetadataValue> metadata = 21 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Map<String,MemoryMetadataValue> |
|
getMetadataOrDefault(String key, MemoryMetadataValue defaultValue)
public MemoryMetadataValue getMetadataOrDefault(String key, MemoryMetadataValue defaultValue)Optional. Represents user-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.
map<string, .google.cloud.aiplatform.v1beta1.MemoryMetadataValue> metadata = 21 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
MemoryMetadataValue |
| Returns | |
|---|---|
| Type | Description |
MemoryMetadataValue |
|
getMetadataOrThrow(String key)
public MemoryMetadataValue getMetadataOrThrow(String key)Optional. Represents user-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.
map<string, .google.cloud.aiplatform.v1beta1.MemoryMetadataValue> metadata = 21 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
MemoryMetadataValue |
|
getMutableMetadata() (deprecated)
public Map<String,MemoryMetadataValue> getMutableMetadata()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,MemoryMetadataValue> |
|
getMutableRevisionLabels() (deprecated)
public Map<String,String> getMutableRevisionLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMutableScope() (deprecated)
public Map<String,String> getMutableScope()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getName()
public String getName() Identifier. Represents 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 | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Identifier. Represents 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getRevisionExpirationCase()
public Memory.RevisionExpirationCase getRevisionExpirationCase()| Returns | |
|---|---|
| Type | Description |
Memory.RevisionExpirationCase |
|
getRevisionExpireTime()
public Timestamp getRevisionExpireTime()Optional. Input only. Represents the timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.
.google.protobuf.Timestamp revision_expire_time = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The revisionExpireTime. |
getRevisionExpireTimeBuilder()
public Timestamp.Builder getRevisionExpireTimeBuilder()Optional. Input only. Represents the timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.
.google.protobuf.Timestamp revision_expire_time = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getRevisionExpireTimeOrBuilder()
public TimestampOrBuilder getRevisionExpireTimeOrBuilder()Optional. Input only. Represents the timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.
.google.protobuf.Timestamp revision_expire_time = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getRevisionLabels() (deprecated)
public Map<String,String> getRevisionLabels()Use #getRevisionLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getRevisionLabelsCount()
public int getRevisionLabelsCount()Optional. Input only. Represents the labels to apply to the Memory Revision created as a result of this request.
map<string, string> revision_labels = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getRevisionLabelsMap()
public Map<String,String> getRevisionLabelsMap()Optional. Input only. Represents the labels to apply to the Memory Revision created as a result of this request.
map<string, string> revision_labels = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getRevisionLabelsOrDefault(String key, String defaultValue)
public String getRevisionLabelsOrDefault(String key, String defaultValue)Optional. Input only. Represents the labels to apply to the Memory Revision created as a result of this request.
map<string, string> revision_labels = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getRevisionLabelsOrThrow(String key)
public String getRevisionLabelsOrThrow(String key)Optional. Input only. Represents the labels to apply to the Memory Revision created as a result of this request.
map<string, string> revision_labels = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getRevisionTtl()
public Duration getRevisionTtl()Optional. Input only. Represents the TTL for the revision. The expiration time is computed: now + TTL.
.google.protobuf.Duration revision_ttl = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Duration |
The revisionTtl. |
getRevisionTtlBuilder()
public Duration.Builder getRevisionTtlBuilder()Optional. Input only. Represents the TTL for the revision. The expiration time is computed: now + TTL.
.google.protobuf.Duration revision_ttl = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getRevisionTtlOrBuilder()
public DurationOrBuilder getRevisionTtlOrBuilder()Optional. Input only. Represents the TTL for the revision. The expiration time is computed: now + TTL.
.google.protobuf.Duration revision_ttl = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getScope() (deprecated)
public Map<String,String> getScope()Use #getScopeMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getScopeCount()
public int getScopeCount()Required. Immutable. Represents 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];
| Returns | |
|---|---|
| Type | Description |
int |
|
getScopeMap()
public Map<String,String> getScopeMap()Required. Immutable. Represents 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];
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getScopeOrDefault(String key, String defaultValue)
public String getScopeOrDefault(String key, String defaultValue)Required. Immutable. Represents 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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getScopeOrThrow(String key)
public String getScopeOrThrow(String key)Required. Immutable. Represents 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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getStructuredContent()
public Memory.StructuredContent getStructuredContent()Optional. Represents the structured content of the memory.
.google.cloud.aiplatform.v1beta1.Memory.StructuredContent structured_content = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.StructuredContent |
The structuredContent. |
getStructuredContentBuilder()
public Memory.StructuredContent.Builder getStructuredContentBuilder()Optional. Represents the structured content of the memory.
.google.cloud.aiplatform.v1beta1.Memory.StructuredContent structured_content = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.StructuredContent.Builder |
|
getStructuredContentOrBuilder()
public Memory.StructuredContentOrBuilder getStructuredContentOrBuilder()Optional. Represents the structured content of the memory.
.google.cloud.aiplatform.v1beta1.Memory.StructuredContent structured_content = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Memory.StructuredContentOrBuilder |
|
getTopics(int index)
public MemoryTopicId getTopics(int index)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MemoryTopicId |
|
getTopicsBuilder(int index)
public MemoryTopicId.Builder getTopicsBuilder(int index)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MemoryTopicId.Builder |
|
getTopicsBuilderList()
public List<MemoryTopicId.Builder> getTopicsBuilderList()Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getTopicsCount()
public int getTopicsCount()Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getTopicsList()
public List<MemoryTopicId> getTopicsList()Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<MemoryTopicId> |
|
getTopicsOrBuilder(int index)
public MemoryTopicIdOrBuilder getTopicsOrBuilder(int index)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
MemoryTopicIdOrBuilder |
|
getTopicsOrBuilderList()
public List<? extends MemoryTopicIdOrBuilder> getTopicsOrBuilderList()Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.MemoryTopicIdOrBuilder> |
|
getTtl()
public Duration getTtl()Optional. Input only. Represents the TTL for this resource. The expiration time is computed: now + TTL.
.google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Duration |
The ttl. |
getTtlBuilder()
public Duration.Builder getTtlBuilder()Optional. Input only. Represents the TTL for this resource. The expiration time is computed: now + TTL.
.google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTtlOrBuilder()
public DurationOrBuilder getTtlOrBuilder()Optional. Input only. Represents the TTL for this resource. The expiration time is computed: now + TTL.
.google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getUpdateTime()
public Timestamp getUpdateTime()Output only. Represents the timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Represents the timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Represents the timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasCreateTime()
public boolean hasCreateTime()Output only. Represents the timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the createTime field is set. |
hasDisableMemoryRevisions()
public boolean hasDisableMemoryRevisions()Optional. Input only. Indicates whether no revision will be created for this request.
bool disable_memory_revisions = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the disableMemoryRevisions field is set. |
hasExpireTime()
public boolean hasExpireTime() Optional. Represents the timestamp of when this resource is considered
expired. This is always provided on output when expiration is set on
input, regardless of whether expire_time or ttl was provided.
.google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the expireTime field is set. |
hasRevisionExpireTime()
public boolean hasRevisionExpireTime()Optional. Input only. Represents the timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.
.google.protobuf.Timestamp revision_expire_time = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the revisionExpireTime field is set. |
hasRevisionTtl()
public boolean hasRevisionTtl()Optional. Input only. Represents the TTL for the revision. The expiration time is computed: now + TTL.
.google.protobuf.Duration revision_ttl = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the revisionTtl field is set. |
hasStructuredContent()
public boolean hasStructuredContent()Optional. Represents the structured content of the memory.
.google.cloud.aiplatform.v1beta1.Memory.StructuredContent structured_content = 24 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the structuredContent field is set. |
hasTtl()
public boolean hasTtl()Optional. Input only. Represents the TTL for this resource. The expiration time is computed: now + TTL.
.google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the ttl field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Represents the timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCreateTime(Timestamp value)
public Memory.Builder mergeCreateTime(Timestamp value)Output only. Represents the timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
mergeExpireTime(Timestamp value)
public Memory.Builder mergeExpireTime(Timestamp value) Optional. Represents the timestamp of when this resource is considered
expired. This is always provided on output when expiration is set on
input, regardless of whether expire_time or ttl was provided.
.google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
mergeFrom(Memory other)
public Memory.Builder mergeFrom(Memory other)| Parameter | |
|---|---|
| Name | Description |
other |
Memory |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Memory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Memory.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
mergeRevisionExpireTime(Timestamp value)
public Memory.Builder mergeRevisionExpireTime(Timestamp value)Optional. Input only. Represents the timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.
.google.protobuf.Timestamp revision_expire_time = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
mergeRevisionTtl(Duration value)
public Memory.Builder mergeRevisionTtl(Duration value)Optional. Input only. Represents the TTL for the revision. The expiration time is computed: now + TTL.
.google.protobuf.Duration revision_ttl = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
mergeStructuredContent(Memory.StructuredContent value)
public Memory.Builder mergeStructuredContent(Memory.StructuredContent value)Optional. Represents the structured content of the memory.
.google.cloud.aiplatform.v1beta1.Memory.StructuredContent structured_content = 24 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Memory.StructuredContent |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
mergeTtl(Duration value)
public Memory.Builder mergeTtl(Duration value)Optional. Input only. Represents the TTL for this resource. The expiration time is computed: now + TTL.
.google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
mergeUpdateTime(Timestamp value)
public Memory.Builder mergeUpdateTime(Timestamp value)Output only. Represents the timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
putAllMetadata(Map<String,MemoryMetadataValue> values)
public Memory.Builder putAllMetadata(Map<String,MemoryMetadataValue> values)Optional. Represents user-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.
map<string, .google.cloud.aiplatform.v1beta1.MemoryMetadataValue> metadata = 21 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,MemoryMetadataValue> |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
putAllRevisionLabels(Map<String,String> values)
public Memory.Builder putAllRevisionLabels(Map<String,String> values)Optional. Input only. Represents the labels to apply to the Memory Revision created as a result of this request.
map<string, string> revision_labels = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
putAllScope(Map<String,String> values)
public Memory.Builder putAllScope(Map<String,String> values)Required. Immutable. Represents 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];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
putMetadata(String key, MemoryMetadataValue value)
public Memory.Builder putMetadata(String key, MemoryMetadataValue value)Optional. Represents user-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.
map<string, .google.cloud.aiplatform.v1beta1.MemoryMetadataValue> metadata = 21 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
MemoryMetadataValue |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
putMetadataBuilderIfAbsent(String key)
public MemoryMetadataValue.Builder putMetadataBuilderIfAbsent(String key)Optional. Represents user-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.
map<string, .google.cloud.aiplatform.v1beta1.MemoryMetadataValue> metadata = 21 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
MemoryMetadataValue.Builder |
|
putRevisionLabels(String key, String value)
public Memory.Builder putRevisionLabels(String key, String value)Optional. Input only. Represents the labels to apply to the Memory Revision created as a result of this request.
map<string, string> revision_labels = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
putScope(String key, String value)
public Memory.Builder putScope(String key, String value)Required. Immutable. Represents 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];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
removeMetadata(String key)
public Memory.Builder removeMetadata(String key)Optional. Represents user-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank.
map<string, .google.cloud.aiplatform.v1beta1.MemoryMetadataValue> metadata = 21 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
removeRevisionLabels(String key)
public Memory.Builder removeRevisionLabels(String key)Optional. Input only. Represents the labels to apply to the Memory Revision created as a result of this request.
map<string, string> revision_labels = 19 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
removeScope(String key)
public Memory.Builder removeScope(String key)Required. Immutable. Represents 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];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
removeTopics(int index)
public Memory.Builder removeTopics(int index)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setContext(String value)
public Memory.Builder setContext(String value)Optional. Represents the context of the memory.
string context = 25 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe context to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setContextBytes(ByteString value)
public Memory.Builder setContextBytes(ByteString value)Optional. Represents the context of the memory.
string context = 25 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for context to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setCreateTime(Timestamp value)
public Memory.Builder setCreateTime(Timestamp value)Output only. Represents the timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setCreateTime(Timestamp.Builder builderForValue)
public Memory.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Represents the timestamp when this Memory was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setDescription(String value)
public Memory.Builder setDescription(String value)Optional. Represents the description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public Memory.Builder setDescriptionBytes(ByteString value)Optional. Represents the description of the Memory.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setDisableMemoryRevisions(boolean value)
public Memory.Builder setDisableMemoryRevisions(boolean value)Optional. Input only. Indicates whether no revision will be created for this request.
bool disable_memory_revisions = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe disableMemoryRevisions to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setDisplayName(String value)
public Memory.Builder setDisplayName(String value)Optional. Represents the display name of the Memory.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Memory.Builder setDisplayNameBytes(ByteString value)Optional. Represents the display name of the Memory.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setExpireTime(Timestamp value)
public Memory.Builder setExpireTime(Timestamp value) Optional. Represents the timestamp of when this resource is considered
expired. This is always provided on output when expiration is set on
input, regardless of whether expire_time or ttl was provided.
.google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setExpireTime(Timestamp.Builder builderForValue)
public Memory.Builder setExpireTime(Timestamp.Builder builderForValue) Optional. Represents the timestamp of when this resource is considered
expired. This is always provided on output when expiration is set on
input, regardless of whether expire_time or ttl was provided.
.google.protobuf.Timestamp expire_time = 13 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setFact(String value)
public Memory.Builder setFact(String value)Optional. Represents semantic knowledge extracted from the source content.
string fact = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fact to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setFactBytes(ByteString value)
public Memory.Builder setFactBytes(ByteString value)Optional. Represents semantic knowledge extracted from the source content.
string fact = 10 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fact to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setMemoryType(MemoryType value)
public Memory.Builder setMemoryType(MemoryType value) Optional. Represents the type of the memory. If not set, the
NATURAL_LANGUAGE_COLLECTION type is used. If STRUCTURED_COLLECTION or
STRUCTURED_PROFILE is used, then structured_data must be provided.
.google.cloud.aiplatform.v1beta1.MemoryType memory_type = 22 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
MemoryTypeThe memoryType to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setMemoryTypeValue(int value)
public Memory.Builder setMemoryTypeValue(int value) Optional. Represents the type of the memory. If not set, the
NATURAL_LANGUAGE_COLLECTION type is used. If STRUCTURED_COLLECTION or
STRUCTURED_PROFILE is used, then structured_data must be provided.
.google.cloud.aiplatform.v1beta1.MemoryType memory_type = 22 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for memoryType to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setName(String value)
public Memory.Builder setName(String value) Identifier. Represents the resource name of the Memory.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Memory.Builder setNameBytes(ByteString value) Identifier. Represents the resource name of the Memory.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
This builder for chaining. |
setRevisionExpireTime(Timestamp value)
public Memory.Builder setRevisionExpireTime(Timestamp value)Optional. Input only. Represents the timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.
.google.protobuf.Timestamp revision_expire_time = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setRevisionExpireTime(Timestamp.Builder builderForValue)
public Memory.Builder setRevisionExpireTime(Timestamp.Builder builderForValue)Optional. Input only. Represents the timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted.
.google.protobuf.Timestamp revision_expire_time = 16 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setRevisionTtl(Duration value)
public Memory.Builder setRevisionTtl(Duration value)Optional. Input only. Represents the TTL for the revision. The expiration time is computed: now + TTL.
.google.protobuf.Duration revision_ttl = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setRevisionTtl(Duration.Builder builderForValue)
public Memory.Builder setRevisionTtl(Duration.Builder builderForValue)Optional. Input only. Represents the TTL for the revision. The expiration time is computed: now + TTL.
.google.protobuf.Duration revision_ttl = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = INPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setStructuredContent(Memory.StructuredContent value)
public Memory.Builder setStructuredContent(Memory.StructuredContent value)Optional. Represents the structured content of the memory.
.google.cloud.aiplatform.v1beta1.Memory.StructuredContent structured_content = 24 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Memory.StructuredContent |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setStructuredContent(Memory.StructuredContent.Builder builderForValue)
public Memory.Builder setStructuredContent(Memory.StructuredContent.Builder builderForValue)Optional. Represents the structured content of the memory.
.google.cloud.aiplatform.v1beta1.Memory.StructuredContent structured_content = 24 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Memory.StructuredContent.Builder |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setTopics(int index, MemoryTopicId value)
public Memory.Builder setTopics(int index, MemoryTopicId value)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
MemoryTopicId |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setTopics(int index, MemoryTopicId.Builder builderForValue)
public Memory.Builder setTopics(int index, MemoryTopicId.Builder builderForValue)Optional. Represents the Topics of the Memory.
repeated .google.cloud.aiplatform.v1beta1.MemoryTopicId topics = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
MemoryTopicId.Builder |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setTtl(Duration value)
public Memory.Builder setTtl(Duration value)Optional. Input only. Represents the TTL for this resource. The expiration time is computed: now + TTL.
.google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setTtl(Duration.Builder builderForValue)
public Memory.Builder setTtl(Duration.Builder builderForValue)Optional. Input only. Represents the TTL for this resource. The expiration time is computed: now + TTL.
.google.protobuf.Duration ttl = 14 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setUpdateTime(Timestamp value)
public Memory.Builder setUpdateTime(Timestamp value)Output only. Represents the timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Memory.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Represents the timestamp when this Memory was most recently updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Memory.Builder |
|