Interface A2ATaskOrBuilder (0.27.0)

public interface A2ATaskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArtifacts(int index)

public abstract A2AArtifact getArtifacts(int index)

Optional. A set of output artifacts for a Task.

repeated .google.cloud.geminidataanalytics.v1beta.A2AArtifact artifacts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
A2AArtifact

getArtifactsCount()

public abstract int getArtifactsCount()

Optional. A set of output artifacts for a Task.

repeated .google.cloud.geminidataanalytics.v1beta.A2AArtifact artifacts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getArtifactsList()

public abstract List<A2AArtifact> getArtifactsList()

Optional. A set of output artifacts for a Task.

repeated .google.cloud.geminidataanalytics.v1beta.A2AArtifact artifacts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<A2AArtifact>

getArtifactsOrBuilder(int index)

public abstract A2AArtifactOrBuilder getArtifactsOrBuilder(int index)

Optional. A set of output artifacts for a Task.

repeated .google.cloud.geminidataanalytics.v1beta.A2AArtifact artifacts = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
A2AArtifactOrBuilder

getArtifactsOrBuilderList()

public abstract List<? extends A2AArtifactOrBuilder> getArtifactsOrBuilderList()

Optional. A set of output artifacts for a Task.

repeated .google.cloud.geminidataanalytics.v1beta.A2AArtifact artifacts = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.geminidataanalytics.v1beta.A2AArtifactOrBuilder>

getContextId()

public abstract String getContextId()

Optional. Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). Created by the A2A server.

string context_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The contextId.

getContextIdBytes()

public abstract ByteString getContextIdBytes()

Optional. Unique identifier (e.g. UUID) for the contextual collection of interactions (tasks and messages). Created by the A2A server.

string context_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for contextId.

getHistory(int index)

public abstract A2AMessage getHistory(int index)

Optional. The history of interactions from a task.

repeated .google.cloud.geminidataanalytics.v1beta.A2AMessage history = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
A2AMessage

getHistoryCount()

public abstract int getHistoryCount()

Optional. The history of interactions from a task.

repeated .google.cloud.geminidataanalytics.v1beta.A2AMessage history = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getHistoryList()

public abstract List<A2AMessage> getHistoryList()

Optional. The history of interactions from a task.

repeated .google.cloud.geminidataanalytics.v1beta.A2AMessage history = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<A2AMessage>

getHistoryOrBuilder(int index)

public abstract A2AMessageOrBuilder getHistoryOrBuilder(int index)

Optional. The history of interactions from a task.

repeated .google.cloud.geminidataanalytics.v1beta.A2AMessage history = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
A2AMessageOrBuilder

getHistoryOrBuilderList()

public abstract List<? extends A2AMessageOrBuilder> getHistoryOrBuilderList()

Optional. The history of interactions from a task.

repeated .google.cloud.geminidataanalytics.v1beta.A2AMessage history = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.geminidataanalytics.v1beta.A2AMessageOrBuilder>

getId()

public abstract String getId()

Optional. Unique identifier (e.g. UUID) for the task, generated by the server for a new task.

string id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Optional. Unique identifier (e.g. UUID) for the task, generated by the server for a new task.

string id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for id.

getMetadata()

public abstract Struct getMetadata()

Optional. A key/value object to store custom metadata about a task.

.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Struct

The metadata.

getMetadataOrBuilder()

public abstract StructOrBuilder getMetadataOrBuilder()

Optional. A key/value object to store custom metadata about a task.

.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StructOrBuilder

getStatus()

public abstract TaskStatus getStatus()

Optional. The current status of a Task, including state and a message.

.google.cloud.geminidataanalytics.v1beta.TaskStatus status = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TaskStatus

The status.

getStatusOrBuilder()

public abstract TaskStatusOrBuilder getStatusOrBuilder()

Optional. The current status of a Task, including state and a message.

.google.cloud.geminidataanalytics.v1beta.TaskStatus status = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TaskStatusOrBuilder

hasMetadata()

public abstract boolean hasMetadata()

Optional. A key/value object to store custom metadata about a task.

.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the metadata field is set.

hasStatus()

public abstract boolean hasStatus()

Optional. The current status of a Task, including state and a message.

.google.cloud.geminidataanalytics.v1beta.TaskStatus status = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the status field is set.