public final class Execution extends com.google.protobuf.GeneratedMessageV3 implements ExecutionOrBuilder
A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).Protobuf type
google.cloud.workflows.executions.v1.Execution| Modifier and Type | Class and Description |
|---|---|
static class |
Execution.Builder
A running instance of a
[Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
|
static class |
Execution.CallLogLevel
Describes the level of platform logging to apply to calls and call
responses during workflow executions.
|
static class |
Execution.Error
Error describes why the execution was abnormally terminated.
|
static interface |
Execution.ErrorOrBuilder |
static class |
Execution.StackTrace
A collection of stack elements (frames) where an error occurred.
|
static class |
Execution.StackTraceElement
A single stack element (frame) where an error occurred.
|
static interface |
Execution.StackTraceElementOrBuilder |
static interface |
Execution.StackTraceOrBuilder |
static class |
Execution.State
Describes the current state of the execution.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ARGUMENT_FIELD_NUMBER |
static int |
CALL_LOG_LEVEL_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
ERROR_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RESULT_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
WORKFLOW_REVISION_ID_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArgument()
Input parameters of the execution represented as a JSON string.
|
com.google.protobuf.ByteString |
getArgumentBytes()
Input parameters of the execution represented as a JSON string.
|
Execution.CallLogLevel |
getCallLogLevel()
The call logging level associated to this execution.
|
int |
getCallLogLevelValue()
The call logging level associated to this execution.
|
static Execution |
getDefaultInstance() |
Execution |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
Output only.
|
Execution.Error |
getError()
Output only.
|
Execution.ErrorOrBuilder |
getErrorOrBuilder()
Output only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<Execution> |
getParserForType() |
String |
getResult()
Output only.
|
com.google.protobuf.ByteString |
getResultBytes()
Output only.
|
int |
getSerializedSize() |
com.google.protobuf.Timestamp |
getStartTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Output only.
|
Execution.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
String |
getWorkflowRevisionId()
Output only.
|
com.google.protobuf.ByteString |
getWorkflowRevisionIdBytes()
Output only.
|
boolean |
hasEndTime()
Output only.
|
boolean |
hasError()
Output only.
|
int |
hashCode() |
boolean |
hasStartTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Execution.Builder |
newBuilder() |
static Execution.Builder |
newBuilder(Execution prototype) |
Execution.Builder |
newBuilderForType() |
protected Execution.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Execution |
parseDelimitedFrom(InputStream input) |
static Execution |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Execution |
parseFrom(byte[] data) |
static Execution |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Execution |
parseFrom(ByteBuffer data) |
static Execution |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Execution |
parseFrom(com.google.protobuf.ByteString data) |
static Execution |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Execution |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Execution |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Execution |
parseFrom(InputStream input) |
static Execution |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Execution> |
parser() |
Execution.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int ARGUMENT_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER
public static final int CALL_LOG_LEVEL_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. The resource name of the execution.
Format:
projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface ExecutionOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the execution.
Format:
projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface ExecutionOrBuilderpublic boolean hasStartTime()
Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasStartTime in interface ExecutionOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTime in interface ExecutionOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStartTimeOrBuilder in interface ExecutionOrBuilderpublic boolean hasEndTime()
Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEndTime in interface ExecutionOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTime in interface ExecutionOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEndTimeOrBuilder in interface ExecutionOrBuilderpublic int getStateValue()
Output only. Current state of the execution.
.google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue in interface ExecutionOrBuilderpublic Execution.State getState()
Output only. Current state of the execution.
.google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState in interface ExecutionOrBuilderpublic String getArgument()
Input parameters of the execution represented as a JSON string.
The size limit is 32KB.
*Note*: If you are using the REST API directly to run your workflow, you
must escape any JSON string value of `argument`. Example:
`'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
string argument = 5;getArgument in interface ExecutionOrBuilderpublic com.google.protobuf.ByteString getArgumentBytes()
Input parameters of the execution represented as a JSON string.
The size limit is 32KB.
*Note*: If you are using the REST API directly to run your workflow, you
must escape any JSON string value of `argument`. Example:
`'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
string argument = 5;getArgumentBytes in interface ExecutionOrBuilderpublic String getResult()
Output only. Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`.
string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getResult in interface ExecutionOrBuilderpublic com.google.protobuf.ByteString getResultBytes()
Output only. Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`.
string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];getResultBytes in interface ExecutionOrBuilderpublic boolean hasError()
Output only. The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.
.google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasError in interface ExecutionOrBuilderpublic Execution.Error getError()
Output only. The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.
.google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getError in interface ExecutionOrBuilderpublic Execution.ErrorOrBuilder getErrorOrBuilder()
Output only. The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.
.google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorOrBuilder in interface ExecutionOrBuilderpublic String getWorkflowRevisionId()
Output only. Revision of the workflow this execution is using.
string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getWorkflowRevisionId in interface ExecutionOrBuilderpublic com.google.protobuf.ByteString getWorkflowRevisionIdBytes()
Output only. Revision of the workflow this execution is using.
string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];getWorkflowRevisionIdBytes in interface ExecutionOrBuilderpublic int getCallLogLevelValue()
The call logging level associated to this execution.
.google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9;getCallLogLevelValue in interface ExecutionOrBuilderpublic Execution.CallLogLevel getCallLogLevel()
The call logging level associated to this execution.
.google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9;getCallLogLevel in interface ExecutionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Execution parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Execution parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Execution parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Execution parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Execution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Execution parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Execution parseFrom(InputStream input) throws IOException
IOExceptionpublic static Execution parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Execution parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Execution parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Execution parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Execution parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Execution.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Execution.Builder newBuilder()
public static Execution.Builder newBuilder(Execution prototype)
public Execution.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Execution.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Execution getDefaultInstance()
public static com.google.protobuf.Parser<Execution> parser()
public com.google.protobuf.Parser<Execution> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Execution getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.