Package org.a2aproject.sdk.compat03.grpc
Interface TaskStatusUpdateEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TaskStatusUpdateEvent,TaskStatusUpdateEvent.Builder
@Generated
public interface TaskStatusUpdateEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe id of the context that the task belongs tocom.google.protobuf.ByteStringThe id of the context that the task belongs tobooleangetFinal()Whether this is the last status update expected for this task.com.google.protobuf.StructOptional metadata to associate with the task update.com.google.protobuf.StructOrBuilderOptional metadata to associate with the task update.The new status of the task.The new status of the task.The id of the task that is changedcom.google.protobuf.ByteStringThe id of the task that is changedbooleanOptional metadata to associate with the task update.booleanThe new status of the task.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
-
getTaskId
String getTaskId()The id of the task that is changed
string task_id = 1;- Returns:
- The taskId.
-
getTaskIdBytes
com.google.protobuf.ByteString getTaskIdBytes()The id of the task that is changed
string task_id = 1;- Returns:
- The bytes for taskId.
-
getContextId
String getContextId()The id of the context that the task belongs to
string context_id = 2;- Returns:
- The contextId.
-
getContextIdBytes
com.google.protobuf.ByteString getContextIdBytes()The id of the context that the task belongs to
string context_id = 2;- Returns:
- The bytes for contextId.
-
hasStatus
boolean hasStatus()The new status of the task.
.a2a.v1.TaskStatus status = 3;- Returns:
- Whether the status field is set.
-
getStatus
TaskStatus getStatus()The new status of the task.
.a2a.v1.TaskStatus status = 3;- Returns:
- The status.
-
getStatusOrBuilder
TaskStatusOrBuilder getStatusOrBuilder()The new status of the task.
.a2a.v1.TaskStatus status = 3; -
getFinal
boolean getFinal()Whether this is the last status update expected for this task.
bool final = 4;- Returns:
- The final.
-
hasMetadata
boolean hasMetadata()Optional metadata to associate with the task update.
.google.protobuf.Struct metadata = 5;- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()Optional metadata to associate with the task update.
.google.protobuf.Struct metadata = 5;- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Optional metadata to associate with the task update.
.google.protobuf.Struct metadata = 5;
-