Interface TaskStatusOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TaskStatus, TaskStatus.Builder

@Generated public interface TaskStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The current state of this task
    int
    The current state of this task
    com.google.protobuf.Timestamp
    Timestamp when the status was recorded.
    com.google.protobuf.TimestampOrBuilder
    Timestamp when the status was recorded.
    A message associated with the status.
    A message associated with the status.
    boolean
    Timestamp when the status was recorded.
    boolean
    A message associated with the status.

    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

    • getStateValue

      int getStateValue()
       The current state of this task
       
      .a2a.v1.TaskState state = 1;
      Returns:
      The enum numeric value on the wire for state.
    • getState

      TaskState getState()
       The current state of this task
       
      .a2a.v1.TaskState state = 1;
      Returns:
      The state.
    • hasUpdate

      boolean hasUpdate()
       A message associated with the status.
       
      .a2a.v1.Message update = 2 [json_name = "message"];
      Returns:
      Whether the update field is set.
    • getUpdate

      Message getUpdate()
       A message associated with the status.
       
      .a2a.v1.Message update = 2 [json_name = "message"];
      Returns:
      The update.
    • getUpdateOrBuilder

      MessageOrBuilder getUpdateOrBuilder()
       A message associated with the status.
       
      .a2a.v1.Message update = 2 [json_name = "message"];
    • hasTimestamp

      boolean hasTimestamp()
       Timestamp when the status was recorded.
       Example: "2023-10-27T10:00:00Z"
       
      .google.protobuf.Timestamp timestamp = 3;
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      com.google.protobuf.Timestamp getTimestamp()
       Timestamp when the status was recorded.
       Example: "2023-10-27T10:00:00Z"
       
      .google.protobuf.Timestamp timestamp = 3;
      Returns:
      The timestamp.
    • getTimestampOrBuilder

      com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
       Timestamp when the status was recorded.
       Example: "2023-10-27T10:00:00Z"
       
      .google.protobuf.Timestamp timestamp = 3;