Package org.a2aproject.sdk.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 identifier (e.g.com.google.protobuf.ByteStringUnique identifier (e.g.Optional.com.google.protobuf.ByteStringOptional.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.com.google.protobuf.StructOrBuilderOptional.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.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 identifier (e.g. UUID) for the artifact. It must be unique within a task.
string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The artifactId.
-
getArtifactIdBytes
com.google.protobuf.ByteString getArtifactIdBytes()Unique identifier (e.g. UUID) for the artifact. It must be unique within a task.
string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for artifactId.
-
getName
String getName()A human readable name for the artifact.
string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()A human readable name for the artifact.
string name = 2;- Returns:
- The bytes for name.
-
getDescription
String getDescription()Optional. A human readable description of the artifact.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. A human readable description of the artifact.
string description = 3;- Returns:
- The bytes for description.
-
getPartsList
The content of the artifact. Must contain at least one part.
repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; -
getParts
The content of the artifact. Must contain at least one part.
repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; -
getPartsCount
int getPartsCount()The content of the artifact. Must contain at least one part.
repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; -
getPartsOrBuilderList
List<? extends PartOrBuilder> getPartsOrBuilderList()The content of the artifact. Must contain at least one part.
repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; -
getPartsOrBuilder
The content of the artifact. Must contain at least one part.
repeated .lf.a2a.v1.Part parts = 4 [(.google.api.field_behavior) = REQUIRED]; -
hasMetadata
boolean hasMetadata()Optional. Metadata included with the artifact.
.google.protobuf.Struct metadata = 5;- Returns:
- Whether the metadata field is set.
-
getMetadata
com.google.protobuf.Struct getMetadata()Optional. Metadata included with the artifact.
.google.protobuf.Struct metadata = 5;- Returns:
- The metadata.
-
getMetadataOrBuilder
com.google.protobuf.StructOrBuilder getMetadataOrBuilder()Optional. Metadata included with the artifact.
.google.protobuf.Struct metadata = 5; -
getExtensionsList
The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 6;- Returns:
- A list containing the extensions.
-
getExtensionsCount
int getExtensionsCount()The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 6;- Returns:
- The count of extensions.
-
getExtensions
The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 6;- 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 = 6;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the extensions at the given index.
-