Class GatewayOuterClass.ThrowErrorRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.ThrowErrorRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GatewayOuterClass.ThrowErrorRequestOrBuilder,Cloneable
- Enclosing class:
GatewayOuterClass.ThrowErrorRequest
public static final class GatewayOuterClass.ThrowErrorRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
implements GatewayOuterClass.ThrowErrorRequestOrBuilder
Protobuf type
gateway_protocol.ThrowErrorRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()the error code that will be matched with an error catch eventan optional error message that provides additional contextclearField(com.google.protobuf.Descriptors.FieldDescriptor field) the unique job identifier, as obtained when activating the jobclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) JSON document that will instantiate the variables at the local scope of the error catch event that catches the thrown error; it must be a JSON object, as variables will be mapped in a key-value fashion.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorthe error code that will be matched with an error catch eventcom.google.protobuf.ByteStringthe error code that will be matched with an error catch eventan optional error message that provides additional contextcom.google.protobuf.ByteStringan optional error message that provides additional contextlongthe unique job identifier, as obtained when activating the jobJSON document that will instantiate the variables at the local scope of the error catch event that catches the thrown error; it must be a JSON object, as variables will be mapped in a key-value fashion.com.google.protobuf.ByteStringJSON document that will instantiate the variables at the local scope of the error catch event that catches the thrown error; it must be a JSON object, as variables will be mapped in a key-value fashion.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setErrorCode(String value) the error code that will be matched with an error catch eventsetErrorCodeBytes(com.google.protobuf.ByteString value) the error code that will be matched with an error catch eventsetErrorMessage(String value) an optional error message that provides additional contextsetErrorMessageBytes(com.google.protobuf.ByteString value) an optional error message that provides additional contextsetJobKey(long value) the unique job identifier, as obtained when activating the jobsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setVariables(String value) JSON document that will instantiate the variables at the local scope of the error catch event that catches the thrown error; it must be a JSON object, as variables will be mapped in a key-value fashion.setVariablesBytes(com.google.protobuf.ByteString value) JSON document that will instantiate the variables at the local scope of the error catch event that catches the thrown error; it must be a JSON object, as variables will be mapped in a key-value fashion.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.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.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
-
setField
public GatewayOuterClass.ThrowErrorRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
-
clearField
public GatewayOuterClass.ThrowErrorRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
-
clearOneof
public GatewayOuterClass.ThrowErrorRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
-
setRepeatedField
public GatewayOuterClass.ThrowErrorRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
-
addRepeatedField
public GatewayOuterClass.ThrowErrorRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
-
mergeFrom
public GatewayOuterClass.ThrowErrorRequest.Builder mergeFrom(GatewayOuterClass.ThrowErrorRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
-
mergeFrom
public GatewayOuterClass.ThrowErrorRequest.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<GatewayOuterClass.ThrowErrorRequest.Builder>- Throws:
IOException
-
getJobKey
public long getJobKey()the unique job identifier, as obtained when activating the job
int64 jobKey = 1;- Specified by:
getJobKeyin interfaceGatewayOuterClass.ThrowErrorRequestOrBuilder- Returns:
- The jobKey.
-
setJobKey
the unique job identifier, as obtained when activating the job
int64 jobKey = 1;- Parameters:
value- The jobKey to set.- Returns:
- This builder for chaining.
-
clearJobKey
the unique job identifier, as obtained when activating the job
int64 jobKey = 1;- Returns:
- This builder for chaining.
-
getErrorCode
the error code that will be matched with an error catch event
string errorCode = 2;- Specified by:
getErrorCodein interfaceGatewayOuterClass.ThrowErrorRequestOrBuilder- Returns:
- The errorCode.
-
getErrorCodeBytes
public com.google.protobuf.ByteString getErrorCodeBytes()the error code that will be matched with an error catch event
string errorCode = 2;- Specified by:
getErrorCodeBytesin interfaceGatewayOuterClass.ThrowErrorRequestOrBuilder- Returns:
- The bytes for errorCode.
-
setErrorCode
the error code that will be matched with an error catch event
string errorCode = 2;- Parameters:
value- The errorCode to set.- Returns:
- This builder for chaining.
-
clearErrorCode
the error code that will be matched with an error catch event
string errorCode = 2;- Returns:
- This builder for chaining.
-
setErrorCodeBytes
public GatewayOuterClass.ThrowErrorRequest.Builder setErrorCodeBytes(com.google.protobuf.ByteString value) the error code that will be matched with an error catch event
string errorCode = 2;- Parameters:
value- The bytes for errorCode to set.- Returns:
- This builder for chaining.
-
getErrorMessage
an optional error message that provides additional context
string errorMessage = 3;- Specified by:
getErrorMessagein interfaceGatewayOuterClass.ThrowErrorRequestOrBuilder- Returns:
- The errorMessage.
-
getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()an optional error message that provides additional context
string errorMessage = 3;- Specified by:
getErrorMessageBytesin interfaceGatewayOuterClass.ThrowErrorRequestOrBuilder- Returns:
- The bytes for errorMessage.
-
setErrorMessage
an optional error message that provides additional context
string errorMessage = 3;- Parameters:
value- The errorMessage to set.- Returns:
- This builder for chaining.
-
clearErrorMessage
an optional error message that provides additional context
string errorMessage = 3;- Returns:
- This builder for chaining.
-
setErrorMessageBytes
public GatewayOuterClass.ThrowErrorRequest.Builder setErrorMessageBytes(com.google.protobuf.ByteString value) an optional error message that provides additional context
string errorMessage = 3;- Parameters:
value- The bytes for errorMessage to set.- Returns:
- This builder for chaining.
-
getVariables
JSON document that will instantiate the variables at the local scope of the error catch event that catches the thrown error; it must be a JSON object, as variables will be mapped in a key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.string variables = 4;- Specified by:
getVariablesin interfaceGatewayOuterClass.ThrowErrorRequestOrBuilder- Returns:
- The variables.
-
getVariablesBytes
public com.google.protobuf.ByteString getVariablesBytes()JSON document that will instantiate the variables at the local scope of the error catch event that catches the thrown error; it must be a JSON object, as variables will be mapped in a key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.string variables = 4;- Specified by:
getVariablesBytesin interfaceGatewayOuterClass.ThrowErrorRequestOrBuilder- Returns:
- The bytes for variables.
-
setVariables
JSON document that will instantiate the variables at the local scope of the error catch event that catches the thrown error; it must be a JSON object, as variables will be mapped in a key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.string variables = 4;- Parameters:
value- The variables to set.- Returns:
- This builder for chaining.
-
clearVariables
JSON document that will instantiate the variables at the local scope of the error catch event that catches the thrown error; it must be a JSON object, as variables will be mapped in a key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.string variables = 4;- Returns:
- This builder for chaining.
-
setVariablesBytes
public GatewayOuterClass.ThrowErrorRequest.Builder setVariablesBytes(com.google.protobuf.ByteString value) JSON document that will instantiate the variables at the local scope of the error catch event that catches the thrown error; it must be a JSON object, as variables will be mapped in a key-value fashion. e.g. { "a": 1, "b": 2 } will create two variables, named "a" and "b" respectively, with their associated values. [{ "a": 1, "b": 2 }] would not be a valid argument, as the root of the JSON document is an array and not an object.string variables = 4;- Parameters:
value- The bytes for variables to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GatewayOuterClass.ThrowErrorRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
-
mergeUnknownFields
public final GatewayOuterClass.ThrowErrorRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GatewayOuterClass.ThrowErrorRequest.Builder>
-