Package org.a2aproject.sdk.compat03.grpc
Interface ArtifactOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Artifact,Artifact.Builder
@Generated
public interface ArtifactOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionUnique id for the artifact.com.google.protobuf.ByteStringUnique id for the artifact.A human readable description of the artifact, optional.com.google.protobuf.ByteStringA human readable description of the artifact, optional.getExtensions(int index) The URIs of extensions that are present or contributed to this Artifact.com.google.protobuf.ByteStringgetExtensionsBytes(int index) The URIs of extensions that are present or contributed to this Artifact.intThe URIs of extensions that are present or contributed to this Artifact.The URIs of extensions that are present or contributed to this Artifact.com.google.protobuf.StructOptional metadata included with the artifact.com.google.protobuf.StructOrBuilderOptional metadata included with the artifact.getName()A human readable name for the artifact.com.google.protobuf.ByteStringA human readable name for the artifact.getParts(int index) The content of the artifact.intThe content of the artifact.The content of the artifact.getPartsOrBuilder(int index) The content of the artifact.List<? extends PartOrBuilder>The content of the artifact.booleanOptional metadata included with the artifact.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
-
getArtifactId
String getArtifactId()Unique id for the artifact. It must be at least unique within a task.
string artifact_id = 1;- Returns:
- The artifactId.
-
getArtifactIdBytes
com.google.protobuf.ByteString getArtifactIdBytes()Unique id for the artifact. It must be at least unique within a task.
string artifact_id = 1;- Returns:
- The bytes for artifactId.
-
getName
String getName()A human readable name for the artifact.
string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()A human readable name for the artifact.
string name = 3;- Returns:
- The bytes for name.
-
getDescription
String getDescription()A human readable description of the artifact, optional.
string description = 4;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()A human readable description of the artifact, optional.
string description = 4;- Returns:
- The bytes for description.
-
getPartsList
The content of the artifact.
repeated .a2a.v1.Part parts = 5; -
getParts
The content of the artifact.
repeated .a2a.v1.Part parts = 5; -
getPartsCount
int getPartsCount()The content of the artifact.
repeated .a2a.v1.Part parts = 5; -
getPartsOrBuilderList
List<? extends PartOrBuilder> getPartsOrBuilderList()The content of the artifact.
repeated .a2a.v1.Part parts = 5; -
getPartsOrBuilder
The content of the artifact.
repeated .a2a.v1.Part parts = 5; -
hasMetadata
boolean hasMetadata()Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6;- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6;- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6; -
getExtensionsList
The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7;- Returns:
- A list containing the extensions.
-
getExtensionsCount
int getExtensionsCount()The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7;- Returns:
- The count of extensions.
-
getExtensions
The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7;- Parameters:
index- The index of the element to return.- Returns:
- The extensions at the given index.
-
getExtensionsBytes
com.google.protobuf.ByteString getExtensionsBytes(int index) The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the extensions at the given index.
-