Package org.a2aproject.sdk.compat03.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 TypeMethodDescriptiongetState()The current state of this taskintThe current state of this taskcom.google.protobuf.TimestampTimestamp when the status was recorded.com.google.protobuf.TimestampOrBuilderTimestamp when the status was recorded.A message associated with the status.A message associated with the status.booleanTimestamp when the status was recorded.booleanA message associated with the status.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
.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;
-