Class Execution.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Execution.Builder>
com.google.cloud.workflows.executions.v1.Execution.Builder
- All Implemented Interfaces:
ExecutionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Execution
public static final class Execution.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Execution.Builder>
implements ExecutionOrBuilder
A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).Protobuf type
google.cloud.workflows.executions.v1.Execution-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Input parameters of the execution represented as a JSON string.The call logging level associated to this execution.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.booleancontainsLabels(String key) Labels associated with this execution.Input parameters of the execution represented as a JSON string.com.google.protobuf.ByteStringInput parameters of the execution represented as a JSON string.The call logging level associated to this execution.intThe call logging level associated to this execution.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationOutput only.com.google.protobuf.Duration.BuilderOutput only.com.google.protobuf.DurationOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getError()Output only.Output only.Output only.Deprecated.intLabels associated with this execution.Labels associated with this execution.getLabelsOrDefault(String key, String defaultValue) Labels associated with this execution.getLabelsOrThrow(String key) Labels associated with this execution.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getState()Output only.Output only.Output only.Output only.intOutput only.Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanhasError()Output only.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeDuration(com.google.protobuf.Duration value) Output only.mergeEndTime(com.google.protobuf.Timestamp value) Output only.mergeError(Execution.Error value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Output only.Output only.mergeStatus(Execution.Status value) Output only.putAllLabels(Map<String, String> values) Labels associated with this execution.Labels associated with this execution.removeLabels(String key) Labels associated with this execution.setArgument(String value) Input parameters of the execution represented as a JSON string.setArgumentBytes(com.google.protobuf.ByteString value) Input parameters of the execution represented as a JSON string.The call logging level associated to this execution.setCallLogLevelValue(int value) The call logging level associated to this execution.setDuration(com.google.protobuf.Duration value) Output only.setDuration(com.google.protobuf.Duration.Builder builderForValue) Output only.setEndTime(com.google.protobuf.Timestamp value) Output only.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setError(Execution.Error value) Output only.setError(Execution.Error.Builder builderForValue) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setResultBytes(com.google.protobuf.ByteString value) Output only.setStartTime(com.google.protobuf.Timestamp value) Output only.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setState(Execution.State value) Output only.Output only.setStateError(Execution.StateError.Builder builderForValue) Output only.setStateValue(int value) Output only.setStatus(Execution.Status value) Output only.setStatus(Execution.Status.Builder builderForValue) Output only.setWorkflowRevisionId(String value) Output only.setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Execution.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Execution.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Execution.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Execution.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Execution.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Execution.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Execution.Builder>
-
mergeFrom
public Execution.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Execution.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceExecutionOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceExecutionOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceExecutionOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceExecutionOrBuilder- Returns:
- The startTime.
-
setStartTime
Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStartTime
Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStartTime
Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStartTime
Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. Marks the beginning of execution.
.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceExecutionOrBuilder
-
hasEndTime
public boolean hasEndTime()Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndTimein interfaceExecutionOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public 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];- Specified by:
getEndTimein interfaceExecutionOrBuilder- Returns:
- The endTime.
-
setEndTime
Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setEndTime
Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeEndTime
Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearEndTime
Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()Output only. Marks the end of execution, successful or not.
.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeOrBuilder
public 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];- Specified by:
getEndTimeOrBuilderin interfaceExecutionOrBuilder
-
hasDuration
public boolean hasDuration()Output only. Measures the duration of the execution.
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasDurationin interfaceExecutionOrBuilder- Returns:
- Whether the duration field is set.
-
getDuration
public com.google.protobuf.Duration getDuration()Output only. Measures the duration of the execution.
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDurationin interfaceExecutionOrBuilder- Returns:
- The duration.
-
setDuration
Output only. Measures the duration of the execution.
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setDuration
Output only. Measures the duration of the execution.
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeDuration
Output only. Measures the duration of the execution.
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearDuration
Output only. Measures the duration of the execution.
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDurationBuilder
public com.google.protobuf.Duration.Builder getDurationBuilder()Output only. Measures the duration of the execution.
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Output only. Measures the duration of the execution.
.google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDurationOrBuilderin interfaceExecutionOrBuilder
-
getStateValue
public int getStateValue()Output only. Current state of the execution.
.google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceExecutionOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. Current state of the execution.
.google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. Current state of the execution.
.google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceExecutionOrBuilder- Returns:
- The state.
-
setState
Output only. Current state of the execution.
.google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. Current state of the execution.
.google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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;- Specified by:
getArgumentin interfaceExecutionOrBuilder- Returns:
- The argument.
-
getArgumentBytes
public 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;- Specified by:
getArgumentBytesin interfaceExecutionOrBuilder- Returns:
- The bytes for argument.
-
setArgument
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;- Parameters:
value- The argument to set.- Returns:
- This builder for chaining.
-
clearArgument
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;- Returns:
- This builder for chaining.
-
setArgumentBytes
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;- Parameters:
value- The bytes for argument to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getResultin interfaceExecutionOrBuilder- Returns:
- The result.
-
getResultBytes
public 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];- Specified by:
getResultBytesin interfaceExecutionOrBuilder- Returns:
- The bytes for result.
-
setResult
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];- Parameters:
value- The result to set.- Returns:
- This builder for chaining.
-
clearResult
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:
- This builder for chaining.
-
setResultBytes
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];- Parameters:
value- The bytes for result to set.- Returns:
- This builder for chaining.
-
hasError
public 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];- Specified by:
hasErrorin interfaceExecutionOrBuilder- Returns:
- Whether the error field is set.
-
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];- Specified by:
getErrorin interfaceExecutionOrBuilder- Returns:
- The error.
-
setError
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]; -
setError
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]; -
mergeError
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]; -
clearError
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]; -
getErrorBuilder
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
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];- Specified by:
getErrorOrBuilderin interfaceExecutionOrBuilder
-
getWorkflowRevisionId
Output only. Revision of the workflow this execution is using.
string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWorkflowRevisionIdin interfaceExecutionOrBuilder- Returns:
- The workflowRevisionId.
-
getWorkflowRevisionIdBytes
public 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];- Specified by:
getWorkflowRevisionIdBytesin interfaceExecutionOrBuilder- Returns:
- The bytes for workflowRevisionId.
-
setWorkflowRevisionId
Output only. Revision of the workflow this execution is using.
string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The workflowRevisionId to set.- Returns:
- This builder for chaining.
-
clearWorkflowRevisionId
Output only. Revision of the workflow this execution is using.
string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setWorkflowRevisionIdBytes
Output only. Revision of the workflow this execution is using.
string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for workflowRevisionId to set.- Returns:
- This builder for chaining.
-
getCallLogLevelValue
public int getCallLogLevelValue()The call logging level associated to this execution.
.google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9;- Specified by:
getCallLogLevelValuein interfaceExecutionOrBuilder- Returns:
- The enum numeric value on the wire for callLogLevel.
-
setCallLogLevelValue
The call logging level associated to this execution.
.google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9;- Parameters:
value- The enum numeric value on the wire for callLogLevel to set.- Returns:
- This builder for chaining.
-
getCallLogLevel
The call logging level associated to this execution.
.google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9;- Specified by:
getCallLogLevelin interfaceExecutionOrBuilder- Returns:
- The callLogLevel.
-
setCallLogLevel
The call logging level associated to this execution.
.google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9;- Parameters:
value- The callLogLevel to set.- Returns:
- This builder for chaining.
-
clearCallLogLevel
The call logging level associated to this execution.
.google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9;- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()Output only. Status tracks the current steps and progress data of this execution.
.google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStatusin interfaceExecutionOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. Status tracks the current steps and progress data of this execution.
.google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusin interfaceExecutionOrBuilder- Returns:
- The status.
-
setStatus
Output only. Status tracks the current steps and progress data of this execution.
.google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStatus
Output only. Status tracks the current steps and progress data of this execution.
.google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStatus
Output only. Status tracks the current steps and progress data of this execution.
.google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStatus
Output only. Status tracks the current steps and progress data of this execution.
.google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStatusBuilder
Output only. Status tracks the current steps and progress data of this execution.
.google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStatusOrBuilder
Output only. Status tracks the current steps and progress data of this execution.
.google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatusOrBuilderin interfaceExecutionOrBuilder
-
getLabelsCount
public int getLabelsCount()Description copied from interface:ExecutionOrBuilderLabels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
map<string, string> labels = 11;- Specified by:
getLabelsCountin interfaceExecutionOrBuilder
-
containsLabels
Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
map<string, string> labels = 11;- Specified by:
containsLabelsin interfaceExecutionOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceExecutionOrBuilder
-
getLabelsMap
Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
map<string, string> labels = 11;- Specified by:
getLabelsMapin interfaceExecutionOrBuilder
-
getLabelsOrDefault
Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
map<string, string> labels = 11;- Specified by:
getLabelsOrDefaultin interfaceExecutionOrBuilder
-
getLabelsOrThrow
Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
map<string, string> labels = 11;- Specified by:
getLabelsOrThrowin interfaceExecutionOrBuilder
-
clearLabels
-
removeLabels
Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
map<string, string> labels = 11; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
map<string, string> labels = 11; -
putAllLabels
Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
map<string, string> labels = 11; -
hasStateError
public boolean hasStateError()Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStateErrorin interfaceExecutionOrBuilder- Returns:
- Whether the stateError field is set.
-
getStateError
Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateErrorin interfaceExecutionOrBuilder- Returns:
- The stateError.
-
setStateError
Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStateError
Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStateError
Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStateError
Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateErrorBuilder
Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStateErrorOrBuilder
Output only. Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
.google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateErrorOrBuilderin interfaceExecutionOrBuilder
-