Package org.a2aproject.sdk.compat03.grpc
Interface TaskOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Task,Task.Builder
@Generated
public interface TaskOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetArtifacts(int index) A set of output artifacts for a Task.intA set of output artifacts for a Task.A set of output artifacts for a Task.getArtifactsOrBuilder(int index) A set of output artifacts for a Task.List<? extends ArtifactOrBuilder>A set of output artifacts for a Task.Unique identifier for the contextual collection of interactions (tasks and messages).com.google.protobuf.ByteStringUnique identifier for the contextual collection of interactions (tasks and messages).getHistory(int index) protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.intprotolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.getHistoryOrBuilder(int index) protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.List<? extends MessageOrBuilder>protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.getId()Unique identifier for a task, created by the A2A server.com.google.protobuf.ByteStringUnique identifier for a task, created by the A2A server.com.google.protobuf.Structprotolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.com.google.protobuf.StructOrBuilderprotolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.The current status of a Task, including state and a message.The current status of a Task, including state and a message.booleanprotolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.booleanThe current status of a Task, including state and a message.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()Unique identifier for a task, created by the A2A server.
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Unique identifier for a task, created by the A2A server.
string id = 1;- Returns:
- The bytes for id.
-
getContextId
String getContextId()Unique identifier for the contextual collection of interactions (tasks and messages). Created by the A2A server.
string context_id = 2;- Returns:
- The contextId.
-
getContextIdBytes
com.google.protobuf.ByteString getContextIdBytes()Unique identifier for the contextual collection of interactions (tasks and messages). Created by the A2A server.
string context_id = 2;- Returns:
- The bytes for contextId.
-
hasStatus
boolean hasStatus()The current status of a Task, including state and a message.
.a2a.v1.TaskStatus status = 3;- Returns:
- Whether the status field is set.
-
getStatus
TaskStatus getStatus()The current status of a Task, including state and a message.
.a2a.v1.TaskStatus status = 3;- Returns:
- The status.
-
getStatusOrBuilder
TaskStatusOrBuilder getStatusOrBuilder()The current status of a Task, including state and a message.
.a2a.v1.TaskStatus status = 3; -
getArtifactsList
A set of output artifacts for a Task.
repeated .a2a.v1.Artifact artifacts = 4; -
getArtifacts
A set of output artifacts for a Task.
repeated .a2a.v1.Artifact artifacts = 4; -
getArtifactsCount
int getArtifactsCount()A set of output artifacts for a Task.
repeated .a2a.v1.Artifact artifacts = 4; -
getArtifactsOrBuilderList
List<? extends ArtifactOrBuilder> getArtifactsOrBuilderList()A set of output artifacts for a Task.
repeated .a2a.v1.Artifact artifacts = 4; -
getArtifactsOrBuilder
A set of output artifacts for a Task.
repeated .a2a.v1.Artifact artifacts = 4; -
getHistoryList
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.
repeated .a2a.v1.Message history = 5; -
getHistory
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.
repeated .a2a.v1.Message history = 5; -
getHistoryCount
int getHistoryCount()protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.
repeated .a2a.v1.Message history = 5; -
getHistoryOrBuilderList
List<? extends MessageOrBuilder> getHistoryOrBuilderList()protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.
repeated .a2a.v1.Message history = 5; -
getHistoryOrBuilder
protolint:disable REPEATED_FIELD_NAMES_PLURALIZED The history of interactions from a task.
repeated .a2a.v1.Message history = 5; -
hasMetadata
boolean hasMetadata()protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.
.google.protobuf.Struct metadata = 6;- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.
.google.protobuf.Struct metadata = 6;- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.
.google.protobuf.Struct metadata = 6;
-