public static final class GenerateMemoriesRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder> implements GenerateMemoriesRequestOrBuilder
Request message for [MemoryBankService.GenerateMemories][google.cloud.aiplatform.v1beta1.MemoryBankService.GenerateMemories].Protobuf type
google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest| Modifier and Type | Method and Description |
|---|---|
GenerateMemoriesRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GenerateMemoriesRequest |
build() |
GenerateMemoriesRequest |
buildPartial() |
GenerateMemoriesRequest.Builder |
clear() |
GenerateMemoriesRequest.Builder |
clearDirectContentsSource()
Defines a direct source of content as the source content from which to
generate memories.
|
GenerateMemoriesRequest.Builder |
clearDisableConsolidation()
Optional.
|
GenerateMemoriesRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GenerateMemoriesRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GenerateMemoriesRequest.Builder |
clearParent()
Required.
|
GenerateMemoriesRequest.Builder |
clearScope() |
GenerateMemoriesRequest.Builder |
clearSource() |
GenerateMemoriesRequest.Builder |
clearVertexSessionSource()
Defines a Vertex Session as the source content from which to generate
memories.
|
GenerateMemoriesRequest.Builder |
clone() |
boolean |
containsScope(String key)
Optional.
|
GenerateMemoriesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GenerateMemoriesRequest.DirectContentsSource |
getDirectContentsSource()
Defines a direct source of content as the source content from which to
generate memories.
|
GenerateMemoriesRequest.DirectContentsSource.Builder |
getDirectContentsSourceBuilder()
Defines a direct source of content as the source content from which to
generate memories.
|
GenerateMemoriesRequest.DirectContentsSourceOrBuilder |
getDirectContentsSourceOrBuilder()
Defines a direct source of content as the source content from which to
generate memories.
|
boolean |
getDisableConsolidation()
Optional.
|
Map<String,String> |
getMutableScope()
Deprecated.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
Map<String,String> |
getScope()
Deprecated.
|
int |
getScopeCount()
Optional.
|
Map<String,String> |
getScopeMap()
Optional.
|
String |
getScopeOrDefault(String key,
String defaultValue)
Optional.
|
String |
getScopeOrThrow(String key)
Optional.
|
GenerateMemoriesRequest.SourceCase |
getSourceCase() |
GenerateMemoriesRequest.VertexSessionSource |
getVertexSessionSource()
Defines a Vertex Session as the source content from which to generate
memories.
|
GenerateMemoriesRequest.VertexSessionSource.Builder |
getVertexSessionSourceBuilder()
Defines a Vertex Session as the source content from which to generate
memories.
|
GenerateMemoriesRequest.VertexSessionSourceOrBuilder |
getVertexSessionSourceOrBuilder()
Defines a Vertex Session as the source content from which to generate
memories.
|
boolean |
hasDirectContentsSource()
Defines a direct source of content as the source content from which to
generate memories.
|
boolean |
hasVertexSessionSource()
Defines a Vertex Session as the source content from which to generate
memories.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
GenerateMemoriesRequest.Builder |
mergeDirectContentsSource(GenerateMemoriesRequest.DirectContentsSource value)
Defines a direct source of content as the source content from which to
generate memories.
|
GenerateMemoriesRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GenerateMemoriesRequest.Builder |
mergeFrom(GenerateMemoriesRequest other) |
GenerateMemoriesRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
GenerateMemoriesRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GenerateMemoriesRequest.Builder |
mergeVertexSessionSource(GenerateMemoriesRequest.VertexSessionSource value)
Defines a Vertex Session as the source content from which to generate
memories.
|
GenerateMemoriesRequest.Builder |
putAllScope(Map<String,String> values)
Optional.
|
GenerateMemoriesRequest.Builder |
putScope(String key,
String value)
Optional.
|
GenerateMemoriesRequest.Builder |
removeScope(String key)
Optional.
|
GenerateMemoriesRequest.Builder |
setDirectContentsSource(GenerateMemoriesRequest.DirectContentsSource.Builder builderForValue)
Defines a direct source of content as the source content from which to
generate memories.
|
GenerateMemoriesRequest.Builder |
setDirectContentsSource(GenerateMemoriesRequest.DirectContentsSource value)
Defines a direct source of content as the source content from which to
generate memories.
|
GenerateMemoriesRequest.Builder |
setDisableConsolidation(boolean value)
Optional.
|
GenerateMemoriesRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GenerateMemoriesRequest.Builder |
setParent(String value)
Required.
|
GenerateMemoriesRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
GenerateMemoriesRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GenerateMemoriesRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GenerateMemoriesRequest.Builder |
setVertexSessionSource(GenerateMemoriesRequest.VertexSessionSource.Builder builderForValue)
Defines a Vertex Session as the source content from which to generate
memories.
|
GenerateMemoriesRequest.Builder |
setVertexSessionSource(GenerateMemoriesRequest.VertexSessionSource value)
Defines a Vertex Session as the source content from which to generate
memories.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>public GenerateMemoriesRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>public GenerateMemoriesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GenerateMemoriesRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GenerateMemoriesRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GenerateMemoriesRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>public GenerateMemoriesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>public GenerateMemoriesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>public GenerateMemoriesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>public GenerateMemoriesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>public GenerateMemoriesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>public GenerateMemoriesRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateMemoriesRequest.Builder>public GenerateMemoriesRequest.Builder mergeFrom(GenerateMemoriesRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>public GenerateMemoriesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GenerateMemoriesRequest.Builder>IOExceptionpublic GenerateMemoriesRequest.SourceCase getSourceCase()
getSourceCase in interface GenerateMemoriesRequestOrBuilderpublic GenerateMemoriesRequest.Builder clearSource()
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;
hasVertexSessionSource in interface GenerateMemoriesRequestOrBuilderpublic 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;
getVertexSessionSource in interface GenerateMemoriesRequestOrBuilderpublic 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;
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;
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;
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;
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;
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;
getVertexSessionSourceOrBuilder in interface GenerateMemoriesRequestOrBuilderpublic 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;
hasDirectContentsSource in interface GenerateMemoriesRequestOrBuilderpublic 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;
getDirectContentsSource in interface GenerateMemoriesRequestOrBuilderpublic 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;
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;
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;
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;
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;
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;
getDirectContentsSourceOrBuilder in interface GenerateMemoriesRequestOrBuilderpublic 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) = { ... }
getParent in interface GenerateMemoriesRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the ReasoningEngine to generate memories
for. Format:
`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface GenerateMemoriesRequestOrBuilderpublic 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) = { ... }
value - The parent to set.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) = { ... }
public GenerateMemoriesRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
value - The bytes for parent to set.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];getDisableConsolidation in interface GenerateMemoriesRequestOrBuilderpublic 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];value - The disableConsolidation to set.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];public int getScopeCount()
GenerateMemoriesRequestOrBuilderOptional. 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];getScopeCount in interface GenerateMemoriesRequestOrBuilderpublic 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];containsScope in interface GenerateMemoriesRequestOrBuilder@Deprecated public Map<String,String> getScope()
getScopeMap() instead.getScope in interface GenerateMemoriesRequestOrBuilderpublic 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];getScopeMap in interface GenerateMemoriesRequestOrBuilderpublic 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];getScopeOrDefault in interface GenerateMemoriesRequestOrBuilderpublic 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];getScopeOrThrow in interface GenerateMemoriesRequestOrBuilderpublic GenerateMemoriesRequest.Builder clearScope()
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];@Deprecated public Map<String,String> getMutableScope()
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];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];public final GenerateMemoriesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>public final GenerateMemoriesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GenerateMemoriesRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.