Package org.a2aproject.sdk.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 to.com.google.protobuf.ByteStringThe ID of the context that the task belongs to.com.google.protobuf.StructOptional.com.google.protobuf.StructOrBuilderOptional.The new status of the task.The new status of the task.The ID of the task that has changed.com.google.protobuf.ByteStringThe ID of the task that has changed.booleanOptional.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 has changed.
string task_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The taskId.
-
getTaskIdBytes
com.google.protobuf.ByteString getTaskIdBytes()The ID of the task that has changed.
string task_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for taskId.
-
getContextId
String getContextId()The ID of the context that the task belongs to.
string context_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The contextId.
-
getContextIdBytes
com.google.protobuf.ByteString getContextIdBytes()The ID of the context that the task belongs to.
string context_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for contextId.
-
hasStatus
boolean hasStatus()The new status of the task.
.lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the status field is set.
-
getStatus
TaskStatus getStatus()The new status of the task.
.lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The status.
-
getStatusOrBuilder
TaskStatusOrBuilder getStatusOrBuilder()The new status of the task.
.lf.a2a.v1.TaskStatus status = 3 [(.google.api.field_behavior) = REQUIRED]; -
hasMetadata
boolean hasMetadata()Optional. Metadata associated with the task update.
.google.protobuf.Struct metadata = 4;- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()Optional. Metadata associated with the task update.
.google.protobuf.Struct metadata = 4;- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Optional. Metadata associated with the task update.
.google.protobuf.Struct metadata = 4;
-