content: // Generated by the protocol buffer compiler.  DO NOT EDIT!
  // NO CHECKED-IN PROTOBUF GENCODE
  // source: a2a.proto
  // Protobuf Java Version: 4.31.1
  
  package io.a2a.grpc;
  
  @com.google.protobuf.Generated
  public interface TaskOrBuilder extends
      // @@protoc_insertion_point(interface_extends:a2a.v1.Task)
      com.google.protobuf.MessageOrBuilder {
  
    /**
     * <pre>
     * Unique identifier for a task, created by the A2A server.
     * </pre>
     *
     * <code>string id = 1;</code>
     * @return The id.
     */
    java.lang.String getId();
    /**
     * <pre>
     * Unique identifier for a task, created by the A2A server.
     * </pre>
     *
     * <code>string id = 1;</code>
     * @return The bytes for id.
     */
    com.google.protobuf.ByteString
        getIdBytes();
  
    /**
     * <pre>
     * Unique identifier for the contextual collection of interactions (tasks
     * and messages). Created by the A2A server.
     * </pre>
     *
     * <code>string context_id = 2;</code>
     * @return The contextId.
     */
    java.lang.String getContextId();
    /**
     * <pre>
     * Unique identifier for the contextual collection of interactions (tasks
     * and messages). Created by the A2A server.
     * </pre>
     *
     * <code>string context_id = 2;</code>
     * @return The bytes for contextId.
     */
    com.google.protobuf.ByteString
        getContextIdBytes();
  
    /**
     * <pre>
     * The current status of a Task, including state and a message.
     * </pre>
     *
     * <code>.a2a.v1.TaskStatus status = 3;</code>
     * @return Whether the status field is set.
     */
    boolean hasStatus();
    /**
     * <pre>
     * The current status of a Task, including state and a message.
     * </pre>
     *
     * <code>.a2a.v1.TaskStatus status = 3;</code>
     * @return The status.
     */
    io.a2a.grpc.TaskStatus getStatus();
    /**
     * <pre>
     * The current status of a Task, including state and a message.
     * </pre>
     *
     * <code>.a2a.v1.TaskStatus status = 3;</code>
     */
    io.a2a.grpc.TaskStatusOrBuilder getStatusOrBuilder();
  
    /**
     * <pre>
     * A set of output artifacts for a Task.
     * </pre>
     *
     * <code>repeated .a2a.v1.Artifact artifacts = 4;</code>
     */
    java.util.List<io.a2a.grpc.Artifact> 
        getArtifactsList();
    /**
     * <pre>
     * A set of output artifacts for a Task.
     * </pre>
     *
     * <code>repeated .a2a.v1.Artifact artifacts = 4;</code>
     */
    io.a2a.grpc.Artifact getArtifacts(int index);
    /**
     * <pre>
     * A set of output artifacts for a Task.
     * </pre>
     *
     * <code>repeated .a2a.v1.Artifact artifacts = 4;</code>
     */
    int getArtifactsCount();
    /**
     * <pre>
     * A set of output artifacts for a Task.
     * </pre>
     *
     * <code>repeated .a2a.v1.Artifact artifacts = 4;</code>
     */
    java.util.List<? extends io.a2a.grpc.ArtifactOrBuilder> 
        getArtifactsOrBuilderList();
    /**
     * <pre>
     * A set of output artifacts for a Task.
     * </pre>
     *
     * <code>repeated .a2a.v1.Artifact artifacts = 4;</code>
     */
    io.a2a.grpc.ArtifactOrBuilder getArtifactsOrBuilder(
        int index);
  
    /**
     * <pre>
     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
     * The history of interactions from a task.
     * </pre>
     *
     * <code>repeated .a2a.v1.Message history = 5;</code>
     */
    java.util.List<io.a2a.grpc.Message> 
        getHistoryList();
    /**
     * <pre>
     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
     * The history of interactions from a task.
     * </pre>
     *
     * <code>repeated .a2a.v1.Message history = 5;</code>
     */
    io.a2a.grpc.Message getHistory(int index);
    /**
     * <pre>
     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
     * The history of interactions from a task.
     * </pre>
     *
     * <code>repeated .a2a.v1.Message history = 5;</code>
     */
    int getHistoryCount();
    /**
     * <pre>
     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
     * The history of interactions from a task.
     * </pre>
     *
     * <code>repeated .a2a.v1.Message history = 5;</code>
     */
    java.util.List<? extends io.a2a.grpc.MessageOrBuilder> 
        getHistoryOrBuilderList();
    /**
     * <pre>
     * protolint:disable REPEATED_FIELD_NAMES_PLURALIZED
     * The history of interactions from a task.
     * </pre>
     *
     * <code>repeated .a2a.v1.Message history = 5;</code>
     */
    io.a2a.grpc.MessageOrBuilder getHistoryOrBuilder(
        int index);
  
    /**
     * <pre>
     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
     * A key/value object to store custom metadata about a task.
     * </pre>
     *
     * <code>.google.protobuf.Struct metadata = 6;</code>
     * @return Whether the metadata field is set.
     */
    boolean hasMetadata();
    /**
     * <pre>
     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
     * A key/value object to store custom metadata about a task.
     * </pre>
     *
     * <code>.google.protobuf.Struct metadata = 6;</code>
     * @return The metadata.
     */
    com.google.protobuf.Struct getMetadata();
    /**
     * <pre>
     * protolint:enable REPEATED_FIELD_NAMES_PLURALIZED
     * A key/value object to store custom metadata about a task.
     * </pre>
     *
     * <code>.google.protobuf.Struct metadata = 6;</code>
     */
    com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
  }
  