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 (e.g.
    com.google.protobuf.ByteString
    Unique identifier (e.g.
    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 (e.g.
    com.google.protobuf.ByteString
    Unique identifier (e.g.
    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 (e.g. UUID) for the task, generated by the server for a
       new task.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       Unique identifier (e.g. UUID) for the task, generated by the server for a
       new task.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for id.
    • getContextId

      String getContextId()
       Unique identifier (e.g. UUID) for the contextual collection of interactions
       (tasks and messages).
       
      string context_id = 2;
      Returns:
      The contextId.
    • getContextIdBytes

      com.google.protobuf.ByteString getContextIdBytes()
       Unique identifier (e.g. UUID) for the contextual collection of interactions
       (tasks and messages).
       
      string context_id = 2;
      Returns:
      The bytes for contextId.
    • hasStatus

      boolean hasStatus()
       The current status of a `Task`, including `state` and a `message`.
       
      .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the status field is set.
    • getStatus

      TaskStatus getStatus()
       The current status of a `Task`, including `state` and a `message`.
       
      .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The status.
    • getStatusOrBuilder

      TaskStatusOrBuilder getStatusOrBuilder()
       The current status of a `Task`, including `state` and a `message`.
       
      .lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED];
    • getArtifactsList

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

      Artifact getArtifacts(int index)
       A set of output artifacts for a `Task`.
       
      repeated .lf.a2a.v1.Artifact artifacts = 4;
    • getArtifactsCount

      int getArtifactsCount()
       A set of output artifacts for a `Task`.
       
      repeated .lf.a2a.v1.Artifact artifacts = 4;
    • getArtifactsOrBuilderList

      List<? extends ArtifactOrBuilder> getArtifactsOrBuilderList()
       A set of output artifacts for a `Task`.
       
      repeated .lf.a2a.v1.Artifact artifacts = 4;
    • getArtifactsOrBuilder

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

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

      Message getHistory(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       The history of interactions from a `Task`.
       
      repeated .lf.a2a.v1.Message history = 5;
    • getHistoryCount

      int getHistoryCount()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       The history of interactions from a `Task`.
       
      repeated .lf.a2a.v1.Message history = 5;
    • getHistoryOrBuilderList

      List<? extends MessageOrBuilder> getHistoryOrBuilderList()
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       The history of interactions from a `Task`.
       
      repeated .lf.a2a.v1.Message history = 5;
    • getHistoryOrBuilder

      MessageOrBuilder getHistoryOrBuilder(int index)
       protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
       The history of interactions from a `Task`.
       
      repeated .lf.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;