Package org.a2aproject.sdk.grpc
Interface TaskArtifactUpdateEventOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TaskArtifactUpdateEvent,TaskArtifactUpdateEvent.Builder
@Generated
public interface TaskArtifactUpdateEventOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIf true, the content of this artifact should be appended to a previously sent artifact with the same ID.The artifact that was generated or updated.The artifact that was generated or updated.The ID of the context that this task belongs to.com.google.protobuf.ByteStringThe ID of the context that this task belongs to.booleanIf true, this is the final chunk of the artifact.com.google.protobuf.StructOptional.com.google.protobuf.StructOrBuilderOptional.The ID of the task for this artifact.com.google.protobuf.ByteStringThe ID of the task for this artifact.booleanThe artifact that was generated or updated.booleanOptional.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 for this artifact.
string task_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The taskId.
-
getTaskIdBytes
com.google.protobuf.ByteString getTaskIdBytes()The ID of the task for this artifact.
string task_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for taskId.
-
getContextId
String getContextId()The ID of the context that this 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 this task belongs to.
string context_id = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for contextId.
-
hasArtifact
boolean hasArtifact()The artifact that was generated or updated.
.lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the artifact field is set.
-
getArtifact
Artifact getArtifact()The artifact that was generated or updated.
.lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The artifact.
-
getArtifactOrBuilder
ArtifactOrBuilder getArtifactOrBuilder()The artifact that was generated or updated.
.lf.a2a.v1.Artifact artifact = 3 [(.google.api.field_behavior) = REQUIRED]; -
getAppend
boolean getAppend()If true, the content of this artifact should be appended to a previously sent artifact with the same ID.
bool append = 4;- Returns:
- The append.
-
getLastChunk
boolean getLastChunk()If true, this is the final chunk of the artifact.
bool last_chunk = 5;- Returns:
- The lastChunk.
-
hasMetadata
boolean hasMetadata()Optional. Metadata associated with the artifact update.
.google.protobuf.Struct metadata = 6;- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()Optional. Metadata associated with the artifact update.
.google.protobuf.Struct metadata = 6;- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Optional. Metadata associated with the artifact update.
.google.protobuf.Struct metadata = 6;
-