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 Type
    Method
    Description
    getArtifacts(int index)
    A set of output artifacts for a Task.
    int
    A set of output artifacts for a Task.
    A set of output artifacts for a Task.
    A set of output artifacts for a Task.
    A set of output artifacts for a Task.
    Unique identifier for the contextual collection of interactions (tasks and messages).
    com.google.protobuf.ByteString
    Unique 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.
    int
    protolint: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.
    protolint: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.
    Unique identifier for a task, created by the A2A server.
    com.google.protobuf.ByteString
    Unique identifier for a task, created by the A2A server.
    com.google.protobuf.Struct
    protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.
    com.google.protobuf.StructOrBuilder
    protolint: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.
    boolean
    protolint:enable REPEATED_FIELD_NAMES_PLURALIZED A key/value object to store custom metadata about a task.
    boolean
    The current status of a Task, including state and a message.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      List<Artifact> getArtifactsList()
       A set of output artifacts for a Task.
       
      repeated .a2a.v1.Artifact artifacts = 4;
    • getArtifacts

      Artifact getArtifacts(int index)
       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

      ArtifactOrBuilder getArtifactsOrBuilder(int index)
       A set of output artifacts for a Task.
       
      repeated .a2a.v1.Artifact artifacts = 4;
    • getHistoryList

      List<Message> getHistoryList()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       The history of interactions from a task.
       
      repeated .a2a.v1.Message history = 5;
    • getHistory

      Message getHistory(int index)
       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

      MessageOrBuilder getHistoryOrBuilder(int index)
       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;