Package org.a2aproject.sdk.grpc
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 TypeMethodDescriptionA message associated with the status.A message associated with the status.getState()The current state of this task.intThe current state of this task.com.google.protobuf.TimestampISO 8601 Timestamp when the status was recorded.com.google.protobuf.TimestampOrBuilderISO 8601 Timestamp when the status was recorded.booleanA message associated with the status.booleanISO 8601 Timestamp when the status was recorded.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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;
-