publicfinalclass ExecutionextendsGeneratedMessageV3implementsExecutionOrBuilder
A running instance of a Workflow.
Protobuf type google.cloud.workflows.executions.v1beta.Execution
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ARGUMENT_FIELD_NUMBER
publicstaticfinalintARGUMENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
END_TIME_FIELD_NUMBER
publicstaticfinalintEND_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
ERROR_FIELD_NUMBER
publicstaticfinalintERROR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NAME_FIELD_NUMBER
publicstaticfinalintNAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RESULT_FIELD_NUMBER
publicstaticfinalintRESULT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
START_TIME_FIELD_NUMBER
publicstaticfinalintSTART_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
STATE_FIELD_NUMBER
publicstaticfinalintSTATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
WORKFLOW_REVISION_ID_FIELD_NUMBER
publicstaticfinalintWORKFLOW_REVISION_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticExecutiongetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticExecution.BuildernewBuilder()
newBuilder(Execution prototype)
publicstaticExecution.BuildernewBuilder(Executionprototype)
| Parameter |
| Name |
Description |
prototype |
Execution
|
publicstaticExecutionparseDelimitedFrom(InputStreaminput)
publicstaticExecutionparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticExecutionparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticExecutionparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticExecutionparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticExecutionparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticExecutionparseFrom(CodedInputStreaminput)
publicstaticExecutionparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticExecutionparseFrom(InputStreaminput)
publicstaticExecutionparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticExecutionparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticExecutionparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<Execution>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getArgument()
publicStringgetArgument()
Input parameters of the execution represented as a JSON string.
The size limit is 32KB.
string argument = 5;
| Returns |
| Type |
Description |
String |
The argument.
|
getArgumentBytes()
publicByteStringgetArgumentBytes()
Input parameters of the execution represented as a JSON string.
The size limit is 32KB.
string argument = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for argument.
|
getDefaultInstanceForType()
publicExecutiongetDefaultInstanceForType()
getEndTime()
publicTimestampgetEndTime()
Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The endTime.
|
getEndTimeOrBuilder()
publicTimestampOrBuildergetEndTimeOrBuilder()
Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getError()
publicExecution.ErrorgetError()
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.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorOrBuilder()
publicExecution.ErrorOrBuildergetErrorOrBuilder()
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.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
publicByteStringgetNameBytes()
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];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
publicParser<Execution>getParserForType()
Overrides
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];
| Returns |
| Type |
Description |
String |
The result.
|
getResultBytes()
publicByteStringgetResultBytes()
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];
| Returns |
| Type |
Description |
ByteString |
The bytes for result.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getStartTime()
publicTimestampgetStartTime()
Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
Timestamp |
The startTime.
|
getStartTimeOrBuilder()
publicTimestampOrBuildergetStartTimeOrBuilder()
Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState()
publicExecution.StategetState()
Output only. Current state of the execution.
.google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
Output only. Current state of the execution.
.google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for state.
|
getWorkflowRevisionId()
publicStringgetWorkflowRevisionId()
Output only. Revision of the workflow this execution is using.
string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The workflowRevisionId.
|
getWorkflowRevisionIdBytes()
publicByteStringgetWorkflowRevisionIdBytes()
Output only. Revision of the workflow this execution is using.
string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for workflowRevisionId.
|
hasEndTime()
publicbooleanhasEndTime()
Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the endTime field is set.
|
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.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the error field is set.
|
hasStartTime()
publicbooleanhasStartTime()
Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
boolean |
Whether the startTime field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicExecution.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedExecution.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicExecution.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides