GoogleCloudAiplatformV1Content class
The base structured datatype containing multi-part content of a message.
A Content
includes a role
field designating the producer of the
Content
and a parts
field containing multi-part data that contains the
content of the message turn.
Constructors
-
GoogleCloudAiplatformV1Content({List<
GoogleCloudAiplatformV1Part> ? parts, String? role}) - GoogleCloudAiplatformV1Content.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parts
↔ List<
GoogleCloudAiplatformV1Part> ? -
Ordered
Parts
that constitute a single message.getter/setter pair - role ↔ String?
-
The producer of the content.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited