Send feedback
Class GenerateMemoriesRequest.VertexSessionSource (3.68.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public static final class GenerateMemoriesRequest . VertexSessionSource extends GeneratedMessageV3 implements GenerateMemoriesRequest . VertexSessionSourceOrBuilder
Defines an Agent Engine Session from which to generate the memories. If
scope
is not provided, the scope will be extracted from the Session
(i.e. {"user_id": sesison.user_id}).
Protobuf type
google.cloud.aiplatform.v1beta1.GenerateMemoriesRequest.VertexSessionSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int END_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SESSION_FIELD_NUMBER
Field Value
Type
Description
int
public static final int START_TIME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static GenerateMemoriesRequest . VertexSessionSource getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static GenerateMemoriesRequest . VertexSessionSource . Builder newBuilder ()
public static GenerateMemoriesRequest . VertexSessionSource . Builder newBuilder ( GenerateMemoriesRequest . VertexSessionSource prototype )
public static GenerateMemoriesRequest . VertexSessionSource parseDelimitedFrom ( InputStream input )
public static GenerateMemoriesRequest . VertexSessionSource parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static GenerateMemoriesRequest . VertexSessionSource parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static GenerateMemoriesRequest . VertexSessionSource parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static GenerateMemoriesRequest . VertexSessionSource parseFrom ( ByteString data )
public static GenerateMemoriesRequest . VertexSessionSource parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GenerateMemoriesRequest . VertexSessionSource parseFrom ( CodedInputStream input )
public static GenerateMemoriesRequest . VertexSessionSource parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GenerateMemoriesRequest . VertexSessionSource parseFrom ( InputStream input )
public static GenerateMemoriesRequest . VertexSessionSource parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static GenerateMemoriesRequest . VertexSessionSource parseFrom ( ByteBuffer data )
public static GenerateMemoriesRequest . VertexSessionSource parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<GenerateMemoriesRequest . VertexSessionSource > parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public GenerateMemoriesRequest . VertexSessionSource getDefaultInstanceForType ()
public Timestamp getEndTime ()
Optional. End time (exclusive) of the time range. If not set, the end
time is unbounded.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
Timestamp
The endTime.
public TimestampOrBuilder getEndTimeOrBuilder ()
Optional. End time (exclusive) of the time range. If not set, the end
time is unbounded.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
public Parser<GenerateMemoriesRequest . VertexSessionSource > getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public String getSession ()
Required. The resource name of the Session to generate memories for.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The session.
public ByteString getSessionBytes ()
Required. The resource name of the Session to generate memories for.
Format:
projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for session.
public Timestamp getStartTime ()
Optional. Time range to define which session events should be used to
generate memories. Start time (inclusive) of the time range. If not set,
the start time is unbounded.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
Timestamp
The startTime.
public TimestampOrBuilder getStartTimeOrBuilder ()
Optional. Time range to define which session events should be used to
generate memories. Start time (inclusive) of the time range. If not set,
the start time is unbounded.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasEndTime ()
Optional. End time (exclusive) of the time range. If not set, the end
time is unbounded.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the endTime field is set.
public boolean hasStartTime ()
Optional. Time range to define which session events should be used to
generate memories. Start time (inclusive) of the time range. If not set,
the start time is unbounded.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the startTime field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public GenerateMemoriesRequest . VertexSessionSource . Builder newBuilderForType ()
protected GenerateMemoriesRequest . VertexSessionSource . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public GenerateMemoriesRequest . VertexSessionSource . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-02 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[],[]]