public final class GenerateMemoriesRequest extends com.google.protobuf.GeneratedMessageV3 implements GenerateMemoriesRequestOrBuilder
Request message for [MemoryBankService.GenerateMemories][google.cloud.aiplatform.v1beta1.MemoryBankService.GenerateMemories].Protobuf type
google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest| Modifier and Type | Class and Description |
|---|---|
static class |
GenerateMemoriesRequest.Builder
Request message for
[MemoryBankService.GenerateMemories][google.cloud.aiplatform.v1beta1.MemoryBankService.GenerateMemories].
|
static class |
GenerateMemoriesRequest.DirectContentsSource
Defines a direct source of content from which to generate the memories.
|
static interface |
GenerateMemoriesRequest.DirectContentsSourceOrBuilder |
static class |
GenerateMemoriesRequest.SourceCase |
static class |
GenerateMemoriesRequest.VertexSessionSource
Defines an Agent Engine Session from which to generate the memories.
|
static interface |
GenerateMemoriesRequest.VertexSessionSourceOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DIRECT_CONTENTS_SOURCE_FIELD_NUMBER |
static int |
DISABLE_CONSOLIDATION_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
SCOPE_FIELD_NUMBER |
static int |
VERTEX_SESSION_SOURCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsScope(String key)
Optional.
|
boolean |
equals(Object obj) |
static GenerateMemoriesRequest |
getDefaultInstance() |
GenerateMemoriesRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GenerateMemoriesRequest.DirectContentsSource |
getDirectContentsSource()
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.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
com.google.protobuf.Parser<GenerateMemoriesRequest> |
getParserForType() |
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.
|
int |
getSerializedSize() |
GenerateMemoriesRequest.SourceCase |
getSourceCase() |
GenerateMemoriesRequest.VertexSessionSource |
getVertexSessionSource()
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.
|
int |
hashCode() |
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) |
boolean |
isInitialized() |
static GenerateMemoriesRequest.Builder |
newBuilder() |
static GenerateMemoriesRequest.Builder |
newBuilder(GenerateMemoriesRequest prototype) |
GenerateMemoriesRequest.Builder |
newBuilderForType() |
protected GenerateMemoriesRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GenerateMemoriesRequest |
parseDelimitedFrom(InputStream input) |
static GenerateMemoriesRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenerateMemoriesRequest |
parseFrom(byte[] data) |
static GenerateMemoriesRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenerateMemoriesRequest |
parseFrom(ByteBuffer data) |
static GenerateMemoriesRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenerateMemoriesRequest |
parseFrom(com.google.protobuf.ByteString data) |
static GenerateMemoriesRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenerateMemoriesRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GenerateMemoriesRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GenerateMemoriesRequest |
parseFrom(InputStream input) |
static GenerateMemoriesRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GenerateMemoriesRequest> |
parser() |
GenerateMemoriesRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VERTEX_SESSION_SOURCE_FIELD_NUMBER
public static final int DIRECT_CONTENTS_SOURCE_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
public static final int DISABLE_CONSOLIDATION_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public GenerateMemoriesRequest.SourceCase getSourceCase()
getSourceCase in interface GenerateMemoriesRequestOrBuilderpublic 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.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.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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GenerateMemoriesRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateMemoriesRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateMemoriesRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateMemoriesRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateMemoriesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateMemoriesRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GenerateMemoriesRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static GenerateMemoriesRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GenerateMemoriesRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GenerateMemoriesRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GenerateMemoriesRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GenerateMemoriesRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GenerateMemoriesRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GenerateMemoriesRequest.Builder newBuilder()
public static GenerateMemoriesRequest.Builder newBuilder(GenerateMemoriesRequest prototype)
public GenerateMemoriesRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GenerateMemoriesRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GenerateMemoriesRequest getDefaultInstance()
public static com.google.protobuf.Parser<GenerateMemoriesRequest> parser()
public com.google.protobuf.Parser<GenerateMemoriesRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GenerateMemoriesRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.