Class Execution.Error.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<Execution.Error.Builder> implements Execution.ErrorOrBuilder
Error describes why the execution was abnormally terminated.
Protobuf typegoogle.cloud.workflows.executions.v1.Execution.Error
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Execution.Error.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Execution.Error
build()
Execution.Error
buildPartial()
Execution.Error.Builder
clear()
Execution.Error.Builder
clearContext()
Human-readable stack trace string.Execution.Error.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Execution.Error.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Execution.Error.Builder
clearPayload()
Error message and data returned represented as a JSON string.Execution.Error.Builder
clearStackTrace()
Stack trace with detailed information of where error was generated.Execution.Error.Builder
clone()
String
getContext()
Human-readable stack trace string.com.google.protobuf.ByteString
getContextBytes()
Human-readable stack trace string.Execution.Error
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getPayload()
Error message and data returned represented as a JSON string.com.google.protobuf.ByteString
getPayloadBytes()
Error message and data returned represented as a JSON string.Execution.StackTrace
getStackTrace()
Stack trace with detailed information of where error was generated.Execution.StackTrace.Builder
getStackTraceBuilder()
Stack trace with detailed information of where error was generated.Execution.StackTraceOrBuilder
getStackTraceOrBuilder()
Stack trace with detailed information of where error was generated.boolean
hasStackTrace()
Stack trace with detailed information of where error was generated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Execution.Error.Builder
mergeFrom(Execution.Error other)
Execution.Error.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Execution.Error.Builder
mergeFrom(com.google.protobuf.Message other)
Execution.Error.Builder
mergeStackTrace(Execution.StackTrace value)
Stack trace with detailed information of where error was generated.Execution.Error.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Execution.Error.Builder
setContext(String value)
Human-readable stack trace string.Execution.Error.Builder
setContextBytes(com.google.protobuf.ByteString value)
Human-readable stack trace string.Execution.Error.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Execution.Error.Builder
setPayload(String value)
Error message and data returned represented as a JSON string.Execution.Error.Builder
setPayloadBytes(com.google.protobuf.ByteString value)
Error message and data returned represented as a JSON string.Execution.Error.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Execution.Error.Builder
setStackTrace(Execution.StackTrace value)
Stack trace with detailed information of where error was generated.Execution.Error.Builder
setStackTrace(Execution.StackTrace.Builder builderForValue)
Stack trace with detailed information of where error was generated.Execution.Error.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
clear
public Execution.Error.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
getDefaultInstanceForType
public Execution.Error getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Execution.Error build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Execution.Error buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Execution.Error.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
setField
public Execution.Error.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
clearField
public Execution.Error.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
clearOneof
public Execution.Error.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
setRepeatedField
public Execution.Error.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
addRepeatedField
public Execution.Error.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
mergeFrom
public Execution.Error.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Execution.Error.Builder>
-
mergeFrom
public Execution.Error.Builder mergeFrom(Execution.Error other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
mergeFrom
public Execution.Error.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Execution.Error.Builder>
- Throws:
IOException
-
getPayload
public String getPayload()
Error message and data returned represented as a JSON string.
string payload = 1;
- Specified by:
getPayload
in 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:
getPayloadBytes
in interfaceExecution.ErrorOrBuilder
- Returns:
- The bytes for payload.
-
setPayload
public Execution.Error.Builder setPayload(String value)
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
public Execution.Error.Builder clearPayload()
Error message and data returned represented as a JSON string.
string payload = 1;
- Returns:
- This builder for chaining.
-
setPayloadBytes
public Execution.Error.Builder setPayloadBytes(com.google.protobuf.ByteString value)
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
public String getContext()
Human-readable stack trace string.
string context = 2;
- Specified by:
getContext
in interfaceExecution.ErrorOrBuilder
- Returns:
- The context.
-
getContextBytes
public com.google.protobuf.ByteString getContextBytes()
Human-readable stack trace string.
string context = 2;
- Specified by:
getContextBytes
in interfaceExecution.ErrorOrBuilder
- Returns:
- The bytes for context.
-
setContext
public Execution.Error.Builder setContext(String value)
Human-readable stack trace string.
string context = 2;
- Parameters:
value
- The context to set.- Returns:
- This builder for chaining.
-
clearContext
public Execution.Error.Builder clearContext()
Human-readable stack trace string.
string context = 2;
- Returns:
- This builder for chaining.
-
setContextBytes
public Execution.Error.Builder setContextBytes(com.google.protobuf.ByteString value)
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:
hasStackTrace
in interfaceExecution.ErrorOrBuilder
- Returns:
- Whether the stackTrace field is set.
-
getStackTrace
public Execution.StackTrace getStackTrace()
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;
- Specified by:
getStackTrace
in interfaceExecution.ErrorOrBuilder
- Returns:
- The stackTrace.
-
setStackTrace
public Execution.Error.Builder setStackTrace(Execution.StackTrace value)
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;
-
setStackTrace
public Execution.Error.Builder setStackTrace(Execution.StackTrace.Builder builderForValue)
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;
-
mergeStackTrace
public Execution.Error.Builder mergeStackTrace(Execution.StackTrace value)
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;
-
clearStackTrace
public Execution.Error.Builder clearStackTrace()
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;
-
getStackTraceBuilder
public Execution.StackTrace.Builder getStackTraceBuilder()
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;
-
getStackTraceOrBuilder
public Execution.StackTraceOrBuilder getStackTraceOrBuilder()
Stack trace with detailed information of where error was generated.
.google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3;
- Specified by:
getStackTraceOrBuilder
in interfaceExecution.ErrorOrBuilder
-
setUnknownFields
public final Execution.Error.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
mergeUnknownFields
public final Execution.Error.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Error.Builder>
-
-