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
    A message associated with the status.
    A message associated with the status.
    The current state of this task.
    int
    The current state of this task.
    com.google.protobuf.Timestamp
    ISO 8601 Timestamp when the status was recorded.
    com.google.protobuf.TimestampOrBuilder
    ISO 8601 Timestamp when the status was recorded.
    boolean
    A message associated with the status.
    boolean
    ISO 8601 Timestamp when the status was recorded.

    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.
       
      .lf.a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for state.
    • getState

      TaskState getState()
       The current state of this task.
       
      .lf.a2a.v1.TaskState state = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The state.
    • hasMessage

      boolean hasMessage()
       A message associated with the status.
       
      .lf.a2a.v1.Message message = 2;
      Returns:
      Whether the message field is set.
    • getMessage

      Message getMessage()
       A message associated with the status.
       
      .lf.a2a.v1.Message message = 2;
      Returns:
      The message.
    • getMessageOrBuilder

      MessageOrBuilder getMessageOrBuilder()
       A message associated with the status.
       
      .lf.a2a.v1.Message message = 2;
    • hasTimestamp

      boolean hasTimestamp()
       ISO 8601 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()
       ISO 8601 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()
       ISO 8601 Timestamp when the status was recorded.
       Example: "2023-10-27T10:00:00Z"
       
      .google.protobuf.Timestamp timestamp = 3;