Class BetaManagedAgentsMemoryPrefix
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMemoryPrefixA directory marker that List Memories returns instead of the memories below the requested
depth.It stands for one or more memories whose paths start with
path. It isn't a stored object and doesn't have an ID. Each marker counts toward the pagelimit.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsMemoryPrefix.BuilderA builder for BetaManagedAgentsMemoryPrefix.
-
Method Summary
Modifier and Type Method Description final Stringpath()The rolled-up path prefix, including a trailing /(e.g.final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("memory_prefix")final JsonField<String>_path()Returns the raw JSON value of path. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsMemoryPrefix.BuildertoBuilder()final BetaManagedAgentsMemoryPrefixvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsMemoryPrefix.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsMemoryPrefix. final static BetaManagedAgentsMemoryPrefixof(String path)Returns an immutable instance of BetaManagedAgentsMemoryPrefix with the required path set to the given value. -
-
Method Detail
-
path
final String path()
The rolled-up path prefix, including a trailing
/(e.g./projects/foo/). Pass this value aspath_prefixon a subsequent list call to drill into the directory.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("memory_prefix")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_path
final JsonField<String> _path()
Returns the raw JSON value of path.
Unlike path, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsMemoryPrefix.Builder toBuilder()
-
validate
final BetaManagedAgentsMemoryPrefix validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsMemoryPrefix.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsMemoryPrefix.
The following fields are required:
.path()
-
of
final static BetaManagedAgentsMemoryPrefix of(String path)
Returns an immutable instance of BetaManagedAgentsMemoryPrefix with the required path set to the given value.
-
-
-
-