Class Execution.Error.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Execution.Error.Builder>
com.google.cloud.workflows.executions.v1.Execution.Error.Builder
- All Implemented Interfaces:
Execution.ErrorOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Execution.Error
public static final class Execution.Error.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Execution.Error.Builder>
implements Execution.ErrorOrBuilder
Error describes why the execution was abnormally terminated.Protobuf type
google.cloud.workflows.executions.v1.Execution.Error-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Human-readable stack trace string.Error message and data returned represented as a JSON string.Stack trace with detailed information of where error was generated.Human-readable stack trace string.com.google.protobuf.ByteStringHuman-readable stack trace string.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorError message and data returned represented as a JSON string.com.google.protobuf.ByteStringError message and data returned represented as a JSON string.Stack trace with detailed information of where error was generated.Stack trace with detailed information of where error was generated.Stack trace with detailed information of where error was generated.booleanStack trace with detailed information of where error was generated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Execution.Error other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Stack trace with detailed information of where error was generated.setContext(String value) Human-readable stack trace string.setContextBytes(com.google.protobuf.ByteString value) Human-readable stack trace string.setPayload(String value) Error message and data returned represented as a JSON string.setPayloadBytes(com.google.protobuf.ByteString value) Error message and data returned represented as a JSON string.Stack trace with detailed information of where error was generated.setStackTrace(Execution.StackTrace.Builder builderForValue) Stack trace with detailed information of where error was generated.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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Execution.Error.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.Error.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.Error.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.Error.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Execution.Error.Builder>
-
mergeFrom
public Execution.Error.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.Error.Builder>- Throws:
IOException
-
getPayload
Error message and data returned represented as a JSON string.
string payload = 1;- Specified by:
getPayloadin interfaceExecution.ErrorOrBuilder- Returns:
- The payload.
-
getPayloadBytes
public com.google.protobuf.ByteString getPayloadBytes()Error message and data returned represented as a JSON string.
string payload = 1;- Specified by:
getPayloadBytesin interfaceExecution.ErrorOrBuilder- Returns:
- The bytes for payload.
-
setPayload
Error message and data returned represented as a JSON string.
string payload = 1;- Parameters:
value- The payload to set.- Returns:
- This builder for chaining.
-
clearPayload
Error message and data returned represented as a JSON string.
string payload = 1;- Returns:
- This builder for chaining.
-
setPayloadBytes
Error message and data returned represented as a JSON string.
string payload = 1;- Parameters:
value- The bytes for payload to set.- Returns:
- This builder for chaining.
-
getContext
Human-readable stack trace string.
string context = 2;- Specified by:
getContextin interfaceExecution.ErrorOrBuilder- Returns:
- The context.
-
getContextBytes
public com.google.protobuf.ByteString getContextBytes()Human-readable stack trace string.
string context = 2;- Specified by:
getContextBytesin interfaceExecution.ErrorOrBuilder- Returns:
- The bytes for context.
-
setContext
Human-readable stack trace string.
string context = 2;- Parameters:
value- The context to set.- Returns:
- This builder for chaining.
-
clearContext
Human-readable stack trace string.
string context = 2;- Returns:
- This builder for chaining.
-
setContextBytes
Human-readable stack trace string.
string context = 2;- Parameters:
value- The bytes for context to set.- Returns:
- This builder for chaining.
-
hasStackTrace
public boolean hasStackTrace()Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;- Specified by:
hasStackTracein interfaceExecution.ErrorOrBuilder- Returns:
- Whether the stackTrace field is set.
-
getStackTrace
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;- Specified by:
getStackTracein interfaceExecution.ErrorOrBuilder- Returns:
- The stackTrace.
-
setStackTrace
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; -
setStackTrace
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; -
mergeStackTrace
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; -
clearStackTrace
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; -
getStackTraceBuilder
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; -
getStackTraceOrBuilder
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;- Specified by:
getStackTraceOrBuilderin interfaceExecution.ErrorOrBuilder
-