public final class A2aV1Artifact
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Discovery Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
A2aV1Artifact() |
| Modifier and Type | Method and Description |
|---|---|
A2aV1Artifact |
clone() |
String |
getArtifactId()
Unique identifier (e.g.
|
String |
getDescription()
A human readable description of the artifact, optional.
|
List<String> |
getExtensions()
The URIs of extensions that are present or contributed to this Artifact.
|
Map<String,Object> |
getMetadata()
Optional metadata included with the artifact.
|
String |
getName()
A human readable name for the artifact.
|
List<A2aV1Part> |
getParts()
The content of the artifact.
|
A2aV1Artifact |
set(String fieldName,
Object value) |
A2aV1Artifact |
setArtifactId(String artifactId)
Unique identifier (e.g.
|
A2aV1Artifact |
setDescription(String description)
A human readable description of the artifact, optional.
|
A2aV1Artifact |
setExtensions(List<String> extensions)
The URIs of extensions that are present or contributed to this Artifact.
|
A2aV1Artifact |
setMetadata(Map<String,Object> metadata)
Optional metadata included with the artifact.
|
A2aV1Artifact |
setName(String name)
A human readable name for the artifact.
|
A2aV1Artifact |
setParts(List<A2aV1Part> parts)
The content of the artifact.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getArtifactId()
null for nonepublic A2aV1Artifact setArtifactId(String artifactId)
artifactId - artifactId or null for nonepublic String getDescription()
null for nonepublic A2aV1Artifact setDescription(String description)
description - description or null for nonepublic List<String> getExtensions()
null for nonepublic A2aV1Artifact setExtensions(List<String> extensions)
extensions - extensions or null for nonepublic Map<String,Object> getMetadata()
null for nonepublic A2aV1Artifact setMetadata(Map<String,Object> metadata)
metadata - metadata or null for nonepublic String getName()
null for nonepublic A2aV1Artifact setName(String name)
name - name or null for nonepublic List<A2aV1Part> getParts()
null for nonepublic A2aV1Artifact setParts(List<A2aV1Part> parts)
parts - parts or null for nonepublic A2aV1Artifact set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic A2aV1Artifact clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.