public interface A2AArtifactOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getArtifactId()
public abstract String getArtifactId()Optional. Unique identifier (e.g. UUID) for the artifact.
string artifact_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The artifactId. |
getArtifactIdBytes()
public abstract ByteString getArtifactIdBytes()Optional. Unique identifier (e.g. UUID) for the artifact.
string artifact_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for artifactId. |
getDescription()
public abstract String getDescription()Optional. A human readable description of the artifact, optional.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public abstract ByteString getDescriptionBytes()Optional. A human readable description of the artifact, optional.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getExtensions(int index)
public abstract String getExtensions(int index)Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The extensions at the given index. |
getExtensionsBytes(int index)
public abstract ByteString getExtensionsBytes(int index)Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the extensions at the given index. |
getExtensionsCount()
public abstract int getExtensionsCount()Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of extensions. |
getExtensionsList()
public abstract List<String> getExtensionsList()Optional. The URIs of extensions that are present or contributed to this Artifact.
repeated string extensions = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the extensions. |
getMetadata()
public abstract Struct getMetadata()Optional. Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Struct |
The metadata. |
getMetadataOrBuilder()
public abstract StructOrBuilder getMetadataOrBuilder()Optional. Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getName()
public abstract String getName()Optional. A human readable name for the artifact.
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Optional. A human readable name for the artifact.
string name = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParts(int index)
public abstract Part getParts(int index)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Part |
|
getPartsCount()
public abstract int getPartsCount()Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getPartsList()
public abstract List<Part> getPartsList()Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Part> |
|
getPartsOrBuilder(int index)
public abstract PartOrBuilder getPartsOrBuilder(int index)Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PartOrBuilder |
|
getPartsOrBuilderList()
public abstract List<? extends PartOrBuilder> getPartsOrBuilderList()Optional. The content of the artifact.
repeated .google.cloud.geminidataanalytics.v1beta.Part parts = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.geminidataanalytics.v1beta.PartOrBuilder> |
|
hasMetadata()
public abstract boolean hasMetadata()Optional. Optional metadata included with the artifact.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |