Class TaskArtifactUpdateEvent (0.27.0)

public final class TaskArtifactUpdateEvent extends GeneratedMessage implements TaskArtifactUpdateEventOrBuilder

TaskArtifactUpdateEvent represents a task delta where an artifact has been generated.

Protobuf type google.cloud.geminidataanalytics.v1beta.TaskArtifactUpdateEvent

Static Fields

APPEND_FIELD_NUMBER

public static final int APPEND_FIELD_NUMBER
Field Value
Type Description
int

ARTIFACT_FIELD_NUMBER

public static final int ARTIFACT_FIELD_NUMBER
Field Value
Type Description
int

CONTEXT_ID_FIELD_NUMBER

public static final int CONTEXT_ID_FIELD_NUMBER
Field Value
Type Description
int

LAST_CHUNK_FIELD_NUMBER

public static final int LAST_CHUNK_FIELD_NUMBER
Field Value
Type Description
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

TASK_ID_FIELD_NUMBER

public static final int TASK_ID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TaskArtifactUpdateEvent getDefaultInstance()
Returns
Type Description
TaskArtifactUpdateEvent

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TaskArtifactUpdateEvent.Builder newBuilder()
Returns
Type Description
TaskArtifactUpdateEvent.Builder

newBuilder(TaskArtifactUpdateEvent prototype)

public static TaskArtifactUpdateEvent.Builder newBuilder(TaskArtifactUpdateEvent prototype)
Parameter
Name Description
prototype TaskArtifactUpdateEvent
Returns
Type Description
TaskArtifactUpdateEvent.Builder

parseDelimitedFrom(InputStream input)

public static TaskArtifactUpdateEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TaskArtifactUpdateEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TaskArtifactUpdateEvent parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TaskArtifactUpdateEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TaskArtifactUpdateEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TaskArtifactUpdateEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TaskArtifactUpdateEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TaskArtifactUpdateEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TaskArtifactUpdateEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TaskArtifactUpdateEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TaskArtifactUpdateEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TaskArtifactUpdateEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TaskArtifactUpdateEvent
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TaskArtifactUpdateEvent> parser()
Returns
Type Description
Parser<TaskArtifactUpdateEvent>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAppend()

public boolean getAppend()

Optional. Whether this should be appended to a prior one produced.

bool append = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The append.

getArtifact()

public A2AArtifact getArtifact()

Optional. The artifact itself.

.google.cloud.geminidataanalytics.v1beta.A2AArtifact artifact = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
A2AArtifact

The artifact.

getArtifactOrBuilder()

public A2AArtifactOrBuilder getArtifactOrBuilder()

Optional. The artifact itself.

.google.cloud.geminidataanalytics.v1beta.A2AArtifact artifact = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
A2AArtifactOrBuilder

getContextId()

public String getContextId()

Optional. The id of the context that this task belongs to.

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

Returns
Type Description
String

The contextId.

getContextIdBytes()

public ByteString getContextIdBytes()

Optional. The id of the context that this task belongs to.

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

Returns
Type Description
ByteString

The bytes for contextId.

getDefaultInstanceForType()

public TaskArtifactUpdateEvent getDefaultInstanceForType()
Returns
Type Description
TaskArtifactUpdateEvent

getLastChunk()

public boolean getLastChunk()

Optional. Whether this represents the last part of an artifact.

bool last_chunk = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The lastChunk.

getMetadata()

public Struct getMetadata()

Optional. Optional metadata associated with the artifact update.

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

Returns
Type Description
Struct

The metadata.

getMetadataOrBuilder()

public StructOrBuilder getMetadataOrBuilder()

Optional. Optional metadata associated with the artifact update.

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

Returns
Type Description
StructOrBuilder

getParserForType()

public Parser<TaskArtifactUpdateEvent> getParserForType()
Returns
Type Description
Parser<TaskArtifactUpdateEvent>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTaskId()

public String getTaskId()

Optional. The id of the task for this artifact.

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

Returns
Type Description
String

The taskId.

getTaskIdBytes()

public ByteString getTaskIdBytes()

Optional. The id of the task for this artifact.

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

Returns
Type Description
ByteString

The bytes for taskId.

hasArtifact()

public boolean hasArtifact()

Optional. The artifact itself.

.google.cloud.geminidataanalytics.v1beta.A2AArtifact artifact = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the artifact field is set.

hasMetadata()

public boolean hasMetadata()

Optional. Optional metadata associated with the artifact update.

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

Returns
Type Description
boolean

Whether the metadata field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TaskArtifactUpdateEvent.Builder newBuilderForType()
Returns
Type Description
TaskArtifactUpdateEvent.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected TaskArtifactUpdateEvent.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TaskArtifactUpdateEvent.Builder
Overrides

toBuilder()

public TaskArtifactUpdateEvent.Builder toBuilder()
Returns
Type Description
TaskArtifactUpdateEvent.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException