public interface OperationCompletedEventOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDeduplicationToken()
public abstract String getDeduplicationToken()Optional deduplication token (e.g. UUID) to prevent duplicate turn execution from concurrent browser tabs.
string deduplication_token = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The deduplicationToken. |
getDeduplicationTokenBytes()
public abstract ByteString getDeduplicationTokenBytes()Optional deduplication token (e.g. UUID) to prevent duplicate turn execution from concurrent browser tabs.
string deduplication_token = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for deduplicationToken. |
getError()
public abstract Status getError()Optional canonical error status if the operation failed.
.google.rpc.Status error = 6;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status |
The error. |
getErrorOrBuilder()
public abstract StatusOrBuilder getErrorOrBuilder()Optional canonical error status if the operation failed.
.google.rpc.Status error = 6;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.StatusOrBuilder |
|
getMetadata()
public abstract Struct getMetadata()Optional structured result metadata (e.g. pass_rate, total_examples, export_uri).
.google.protobuf.Struct metadata = 7;
| Returns | |
|---|---|
| Type | Description |
Struct |
The metadata. |
getMetadataOrBuilder()
public abstract StructOrBuilder getMetadataOrBuilder()Optional structured result metadata (e.g. pass_rate, total_examples, export_uri).
.google.protobuf.Struct metadata = 7;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getOperationName()
public abstract String getOperationName() The operation resource name (e.g. operations/{op}).
string operation_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The operationName. |
getOperationNameBytes()
public abstract ByteString getOperationNameBytes() The operation resource name (e.g. operations/{op}).
string operation_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for operationName. |
getOperationType()
public abstract String getOperationType()The operation type or tool name (e.g. "run_evaluation", "copy_app", "export_app").
string operation_type = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The operationType. |
getOperationTypeBytes()
public abstract ByteString getOperationTypeBytes()The operation type or tool name (e.g. "run_evaluation", "copy_app", "export_app").
string operation_type = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for operationType. |
getStatus()
public abstract String getStatus()Status of the operation run (e.g. "SUCCEEDED", "FAILED", "CANCELLED").
string status = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The status. |
getStatusBytes()
public abstract ByteString getStatusBytes()Status of the operation run (e.g. "SUCCEEDED", "FAILED", "CANCELLED").
string status = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for status. |
getTargetResourceName()
public abstract String getTargetResourceName()The primary resource targeted or produced by the operation (e.g. evaluation run ID, app ID, dataset ID).
string target_resource_name = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The targetResourceName. |
getTargetResourceNameBytes()
public abstract ByteString getTargetResourceNameBytes()The primary resource targeted or produced by the operation (e.g. evaluation run ID, app ID, dataset ID).
string target_resource_name = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for targetResourceName. |
hasError()
public abstract boolean hasError()Optional canonical error status if the operation failed.
.google.rpc.Status error = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the error field is set. |
hasMetadata()
public abstract boolean hasMetadata()Optional structured result metadata (e.g. pass_rate, total_examples, export_uri).
.google.protobuf.Struct metadata = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metadata field is set. |