Package org.a2aproject.sdk.compat03.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 TypeMethodDescriptionbooleanWhether this should be appended to a prior one producedThe artifact itselfThe artifact itselfThe id of the context that this task belongs toocom.google.protobuf.ByteStringThe id of the context that this task belongs toobooleanWhether this represents the last part of an artifactcom.google.protobuf.StructOptional metadata associated with the artifact update.com.google.protobuf.StructOrBuilderOptional metadata associated with the artifact update.The id of the task for this artifactcom.google.protobuf.ByteStringThe id of the task for this artifactbooleanThe artifact itselfbooleanOptional metadata associated with the artifact update.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;- Returns:
- The taskId.
-
getTaskIdBytes
com.google.protobuf.ByteString getTaskIdBytes()The id of the task for this artifact
string task_id = 1;- Returns:
- The bytes for taskId.
-
getContextId
String getContextId()The id of the context that this task belongs too
string context_id = 2;- Returns:
- The contextId.
-
getContextIdBytes
com.google.protobuf.ByteString getContextIdBytes()The id of the context that this task belongs too
string context_id = 2;- Returns:
- The bytes for contextId.
-
hasArtifact
boolean hasArtifact()The artifact itself
.a2a.v1.Artifact artifact = 3;- Returns:
- Whether the artifact field is set.
-
getArtifact
Artifact getArtifact()The artifact itself
.a2a.v1.Artifact artifact = 3;- Returns:
- The artifact.
-
getArtifactOrBuilder
ArtifactOrBuilder getArtifactOrBuilder()The artifact itself
.a2a.v1.Artifact artifact = 3; -
getAppend
boolean getAppend()Whether this should be appended to a prior one produced
bool append = 4;- Returns:
- The append.
-
getLastChunk
boolean getLastChunk()Whether this represents the last part of an 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;
-