- 3.73.0 (latest)
- 3.71.0
- 3.69.0
- 3.68.0
- 3.65.0
- 3.64.0
- 3.63.0
- 3.61.0
- 3.60.0
- 3.59.0
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.0
public static final class GenerateMemoriesRequest.Builder extends GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder> implements GenerateMemoriesRequestOrBuilder
Request message for MemoryBankService.GenerateMemories.
Protobuf type google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateMemoriesRequest.BuilderImplements
GenerateMemoriesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateMemoriesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
build()
public GenerateMemoriesRequest build()
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest |
buildPartial()
public GenerateMemoriesRequest buildPartial()
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest |
clear()
public GenerateMemoriesRequest.Builder clear()
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
clearDirectContentsSource()
public GenerateMemoriesRequest.Builder clearDirectContentsSource()
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.Builder |
clearDirectMemoriesSource()
public GenerateMemoriesRequest.Builder clearDirectMemoriesSource()
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 | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
clearDisableConsolidation()
public GenerateMemoriesRequest.Builder clearDisableConsolidation()
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 |
GenerateMemoriesRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public GenerateMemoriesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateMemoriesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
clearParent()
public GenerateMemoriesRequest.Builder clearParent()
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 |
GenerateMemoriesRequest.Builder |
This builder for chaining. |
clearScope()
public GenerateMemoriesRequest.Builder clearScope()
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
clearSource()
public GenerateMemoriesRequest.Builder clearSource()
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
clearVertexSessionSource()
public GenerateMemoriesRequest.Builder clearVertexSessionSource()
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.Builder |
clone()
public GenerateMemoriesRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
containsScope(String key)
public 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 |
getDefaultInstanceForType()
public GenerateMemoriesRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDirectContentsSource()
public 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. |
getDirectContentsSourceBuilder()
public GenerateMemoriesRequest.DirectContentsSource.Builder getDirectContentsSourceBuilder()
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.Builder |
getDirectContentsSourceOrBuilder()
public 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 |
getDirectMemoriesSource()
public 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 | |
---|---|
Type | Description |
GenerateMemoriesRequest.DirectMemoriesSource |
The directMemoriesSource. |
getDirectMemoriesSourceBuilder()
public GenerateMemoriesRequest.DirectMemoriesSource.Builder getDirectMemoriesSourceBuilder()
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 | |
---|---|
Type | Description |
GenerateMemoriesRequest.DirectMemoriesSource.Builder |
getDirectMemoriesSourceOrBuilder()
public 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;
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.DirectMemoriesSourceOrBuilder |
getDisableConsolidation()
public 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. |
getMutableScope() (deprecated)
public Map<String,String> getMutableScope()
Use alternate mutation accessors instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getParent()
public 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 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 Map<String,String> getScope()
Use #getScopeMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getScopeCount()
public 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 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 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 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 GenerateMemoriesRequest.SourceCase getSourceCase()
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.SourceCase |
getVertexSessionSource()
public 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. |
getVertexSessionSourceBuilder()
public GenerateMemoriesRequest.VertexSessionSource.Builder getVertexSessionSourceBuilder()
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.Builder |
getVertexSessionSourceOrBuilder()
public 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 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. |
hasDirectMemoriesSource()
public 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 | |
---|---|
Type | Description |
boolean |
Whether the directMemoriesSource field is set. |
hasVertexSessionSource()
public 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 |
mergeDirectContentsSource(GenerateMemoriesRequest.DirectContentsSource value)
public GenerateMemoriesRequest.Builder mergeDirectContentsSource(GenerateMemoriesRequest.DirectContentsSource value)
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;
Parameter | |
---|---|
Name | Description |
value |
GenerateMemoriesRequest.DirectContentsSource |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
mergeDirectMemoriesSource(GenerateMemoriesRequest.DirectMemoriesSource value)
public GenerateMemoriesRequest.Builder mergeDirectMemoriesSource(GenerateMemoriesRequest.DirectMemoriesSource value)
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;
Parameter | |
---|---|
Name | Description |
value |
GenerateMemoriesRequest.DirectMemoriesSource |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
mergeFrom(GenerateMemoriesRequest other)
public GenerateMemoriesRequest.Builder mergeFrom(GenerateMemoriesRequest other)
Parameter | |
---|---|
Name | Description |
other |
GenerateMemoriesRequest |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateMemoriesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GenerateMemoriesRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateMemoriesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
mergeVertexSessionSource(GenerateMemoriesRequest.VertexSessionSource value)
public GenerateMemoriesRequest.Builder mergeVertexSessionSource(GenerateMemoriesRequest.VertexSessionSource value)
Defines a Vertex Session as the source content from which to generate memories.
.google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.VertexSessionSource vertex_session_source = 2;
Parameter | |
---|---|
Name | Description |
value |
GenerateMemoriesRequest.VertexSessionSource |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
putAllScope(Map<String,String> values)
public GenerateMemoriesRequest.Builder putAllScope(Map<String,String> values)
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 |
values |
Map<String,String> |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
putScope(String key, String value)
public GenerateMemoriesRequest.Builder putScope(String key, String value)
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 |
value |
String |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
removeScope(String key)
public GenerateMemoriesRequest.Builder removeScope(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 |
GenerateMemoriesRequest.Builder |
setDirectContentsSource(GenerateMemoriesRequest.DirectContentsSource value)
public GenerateMemoriesRequest.Builder setDirectContentsSource(GenerateMemoriesRequest.DirectContentsSource value)
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;
Parameter | |
---|---|
Name | Description |
value |
GenerateMemoriesRequest.DirectContentsSource |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
setDirectContentsSource(GenerateMemoriesRequest.DirectContentsSource.Builder builderForValue)
public GenerateMemoriesRequest.Builder setDirectContentsSource(GenerateMemoriesRequest.DirectContentsSource.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
GenerateMemoriesRequest.DirectContentsSource.Builder |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
setDirectMemoriesSource(GenerateMemoriesRequest.DirectMemoriesSource value)
public GenerateMemoriesRequest.Builder setDirectMemoriesSource(GenerateMemoriesRequest.DirectMemoriesSource value)
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;
Parameter | |
---|---|
Name | Description |
value |
GenerateMemoriesRequest.DirectMemoriesSource |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
setDirectMemoriesSource(GenerateMemoriesRequest.DirectMemoriesSource.Builder builderForValue)
public GenerateMemoriesRequest.Builder setDirectMemoriesSource(GenerateMemoriesRequest.DirectMemoriesSource.Builder builderForValue)
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
GenerateMemoriesRequest.DirectMemoriesSource.Builder |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
setDisableConsolidation(boolean value)
public GenerateMemoriesRequest.Builder setDisableConsolidation(boolean value)
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];
Parameter | |
---|---|
Name | Description |
value |
boolean The disableConsolidation to set. |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateMemoriesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
setParent(String value)
public GenerateMemoriesRequest.Builder setParent(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public GenerateMemoriesRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateMemoriesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateMemoriesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
setVertexSessionSource(GenerateMemoriesRequest.VertexSessionSource value)
public GenerateMemoriesRequest.Builder setVertexSessionSource(GenerateMemoriesRequest.VertexSessionSource value)
Defines a Vertex Session as the source content from which to generate memories.
.google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.VertexSessionSource vertex_session_source = 2;
Parameter | |
---|---|
Name | Description |
value |
GenerateMemoriesRequest.VertexSessionSource |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |
setVertexSessionSource(GenerateMemoriesRequest.VertexSessionSource.Builder builderForValue)
public GenerateMemoriesRequest.Builder setVertexSessionSource(GenerateMemoriesRequest.VertexSessionSource.Builder builderForValue)
Defines a Vertex Session as the source content from which to generate memories.
.google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.VertexSessionSource vertex_session_source = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
GenerateMemoriesRequest.VertexSessionSource.Builder |
Returns | |
---|---|
Type | Description |
GenerateMemoriesRequest.Builder |