public static final class TaskArtifactUpdateEvent.Builder extends GeneratedMessage.Builder<TaskArtifactUpdateEvent.Builder> implements TaskArtifactUpdateEventOrBuilderTaskArtifactUpdateEvent represents a task delta where an artifact has been generated.
Protobuf type google.cloud.geminidataanalytics.v1beta.TaskArtifactUpdateEvent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TaskArtifactUpdateEvent.BuilderImplements
TaskArtifactUpdateEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TaskArtifactUpdateEvent build()| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent |
|
buildPartial()
public TaskArtifactUpdateEvent buildPartial()| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent |
|
clear()
public TaskArtifactUpdateEvent.Builder clear()| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
clearAppend()
public TaskArtifactUpdateEvent.Builder clearAppend()Optional. Whether this should be appended to a prior one produced.
bool append = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
This builder for chaining. |
clearArtifact()
public TaskArtifactUpdateEvent.Builder clearArtifact()Optional. The artifact itself.
.google.cloud.geminidataanalytics.v1beta.A2AArtifact artifact = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
clearContextId()
public TaskArtifactUpdateEvent.Builder clearContextId()Optional. The id of the context that this task belongs to.
string context_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
This builder for chaining. |
clearLastChunk()
public TaskArtifactUpdateEvent.Builder clearLastChunk()Optional. Whether this represents the last part of an artifact.
bool last_chunk = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
This builder for chaining. |
clearMetadata()
public TaskArtifactUpdateEvent.Builder clearMetadata()Optional. Optional metadata associated with the artifact update.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
clearTaskId()
public TaskArtifactUpdateEvent.Builder clearTaskId()Optional. The id of the task for this artifact.
string task_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
This builder for chaining. |
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. |
getArtifactBuilder()
public A2AArtifact.Builder getArtifactBuilder()Optional. The artifact itself.
.google.cloud.geminidataanalytics.v1beta.A2AArtifact artifact = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
A2AArtifact.Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getMetadataBuilder()
public Struct.Builder getMetadataBuilder()Optional. Optional metadata associated with the artifact update.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
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 |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeArtifact(A2AArtifact value)
public TaskArtifactUpdateEvent.Builder mergeArtifact(A2AArtifact value)Optional. The artifact itself.
.google.cloud.geminidataanalytics.v1beta.A2AArtifact artifact = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
A2AArtifact |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
mergeFrom(TaskArtifactUpdateEvent other)
public TaskArtifactUpdateEvent.Builder mergeFrom(TaskArtifactUpdateEvent other)| Parameter | |
|---|---|
| Name | Description |
other |
TaskArtifactUpdateEvent |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TaskArtifactUpdateEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TaskArtifactUpdateEvent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
mergeMetadata(Struct value)
public TaskArtifactUpdateEvent.Builder mergeMetadata(Struct value)Optional. Optional metadata associated with the artifact update.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
setAppend(boolean value)
public TaskArtifactUpdateEvent.Builder setAppend(boolean value)Optional. Whether this should be appended to a prior one produced.
bool append = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe append to set. |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
This builder for chaining. |
setArtifact(A2AArtifact value)
public TaskArtifactUpdateEvent.Builder setArtifact(A2AArtifact value)Optional. The artifact itself.
.google.cloud.geminidataanalytics.v1beta.A2AArtifact artifact = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
A2AArtifact |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
setArtifact(A2AArtifact.Builder builderForValue)
public TaskArtifactUpdateEvent.Builder setArtifact(A2AArtifact.Builder builderForValue)Optional. The artifact itself.
.google.cloud.geminidataanalytics.v1beta.A2AArtifact artifact = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
A2AArtifact.Builder |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
setContextId(String value)
public TaskArtifactUpdateEvent.Builder setContextId(String value)Optional. The id of the context that this task belongs to.
string context_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe contextId to set. |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
This builder for chaining. |
setContextIdBytes(ByteString value)
public TaskArtifactUpdateEvent.Builder setContextIdBytes(ByteString value)Optional. The id of the context that this task belongs to.
string context_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for contextId to set. |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
This builder for chaining. |
setLastChunk(boolean value)
public TaskArtifactUpdateEvent.Builder setLastChunk(boolean value)Optional. Whether this represents the last part of an artifact.
bool last_chunk = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe lastChunk to set. |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
This builder for chaining. |
setMetadata(Struct value)
public TaskArtifactUpdateEvent.Builder setMetadata(Struct value)Optional. Optional metadata associated with the artifact update.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Struct |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
setMetadata(Struct.Builder builderForValue)
public TaskArtifactUpdateEvent.Builder setMetadata(Struct.Builder builderForValue)Optional. Optional metadata associated with the artifact update.
.google.protobuf.Struct metadata = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
|
setTaskId(String value)
public TaskArtifactUpdateEvent.Builder setTaskId(String value)Optional. The id of the task for this artifact.
string task_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe taskId to set. |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
This builder for chaining. |
setTaskIdBytes(ByteString value)
public TaskArtifactUpdateEvent.Builder setTaskIdBytes(ByteString value)Optional. The id of the task for this artifact.
string task_id = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for taskId to set. |
| Returns | |
|---|---|
| Type | Description |
TaskArtifactUpdateEvent.Builder |
This builder for chaining. |