Class GatewayOuterClass.JobResult
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.JobResult
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GatewayOuterClass.JobResultOrBuilder,Serializable
- Enclosing class:
GatewayOuterClass
public static final class GatewayOuterClass.JobResult
extends com.google.protobuf.GeneratedMessage
implements GatewayOuterClass.JobResultOrBuilder
Protobuf type
gateway_protocol.JobResult- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typegateway_protocol.JobResultNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAttributes that were corrected by the worker.Attributes that were corrected by the worker.static GatewayOuterClass.JobResultbooleanIndicates whether the worker denies the work, i.e. explicitly doesn't approve it.The reason provided by the user task listener for denying the work.com.google.protobuf.ByteStringThe reason provided by the user task listener for denying the work.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<GatewayOuterClass.JobResult> intbooleanAttributes that were corrected by the worker.booleanIndicates whether the worker denies the work, i.e. explicitly doesn't approve it.booleanThe reason provided by the user task listener for denying the work.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(GatewayOuterClass.JobResult prototype) protected GatewayOuterClass.JobResult.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static GatewayOuterClass.JobResultparseDelimitedFrom(InputStream input) static GatewayOuterClass.JobResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GatewayOuterClass.JobResultparseFrom(byte[] data) static GatewayOuterClass.JobResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GatewayOuterClass.JobResultparseFrom(com.google.protobuf.ByteString data) static GatewayOuterClass.JobResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GatewayOuterClass.JobResultparseFrom(com.google.protobuf.CodedInputStream input) static GatewayOuterClass.JobResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GatewayOuterClass.JobResultparseFrom(InputStream input) static GatewayOuterClass.JobResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GatewayOuterClass.JobResultparseFrom(ByteBuffer data) static GatewayOuterClass.JobResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GatewayOuterClass.JobResult> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
DENIED_FIELD_NUMBER
public static final int DENIED_FIELD_NUMBER- See Also:
-
CORRECTIONS_FIELD_NUMBER
public static final int CORRECTIONS_FIELD_NUMBER- See Also:
-
DENIEDREASON_FIELD_NUMBER
public static final int DENIEDREASON_FIELD_NUMBER- See Also:
-
-
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
-
hasDenied
public boolean hasDenied()Indicates whether the worker denies the work, i.e. explicitly doesn't approve it. For example, a user task listener can deny the completion of a user task by setting this flag to true. In this example, the completion of a task is represented by a job that the worker can complete as denied. As a result, the completion request is rejected and the task remains active. Defaults to false.
optional bool denied = 1;- Specified by:
hasDeniedin interfaceGatewayOuterClass.JobResultOrBuilder- Returns:
- Whether the denied field is set.
-
getDenied
public boolean getDenied()Indicates whether the worker denies the work, i.e. explicitly doesn't approve it. For example, a user task listener can deny the completion of a user task by setting this flag to true. In this example, the completion of a task is represented by a job that the worker can complete as denied. As a result, the completion request is rejected and the task remains active. Defaults to false.
optional bool denied = 1;- Specified by:
getDeniedin interfaceGatewayOuterClass.JobResultOrBuilder- Returns:
- The denied.
-
hasCorrections
public boolean hasCorrections()Attributes that were corrected by the worker. The following attributes can be corrected, additional attributes will be ignored: * `assignee` - clear by providing an empty string * `dueDate` - clear by providing an empty string * `followUpDate` - clear by providing an empty string * `candidateGroups` - clear by providing an empty list * `candidateUsers` - clear by providing an empty list * `priority` - minimum 0, maximum 100, default 50 Omitting any of the attributes will preserve the persisted attribute's value.
optional .gateway_protocol.JobResultCorrections corrections = 2;- Specified by:
hasCorrectionsin interfaceGatewayOuterClass.JobResultOrBuilder- Returns:
- Whether the corrections field is set.
-
getCorrections
Attributes that were corrected by the worker. The following attributes can be corrected, additional attributes will be ignored: * `assignee` - clear by providing an empty string * `dueDate` - clear by providing an empty string * `followUpDate` - clear by providing an empty string * `candidateGroups` - clear by providing an empty list * `candidateUsers` - clear by providing an empty list * `priority` - minimum 0, maximum 100, default 50 Omitting any of the attributes will preserve the persisted attribute's value.
optional .gateway_protocol.JobResultCorrections corrections = 2;- Specified by:
getCorrectionsin interfaceGatewayOuterClass.JobResultOrBuilder- Returns:
- The corrections.
-
getCorrectionsOrBuilder
Attributes that were corrected by the worker. The following attributes can be corrected, additional attributes will be ignored: * `assignee` - clear by providing an empty string * `dueDate` - clear by providing an empty string * `followUpDate` - clear by providing an empty string * `candidateGroups` - clear by providing an empty list * `candidateUsers` - clear by providing an empty list * `priority` - minimum 0, maximum 100, default 50 Omitting any of the attributes will preserve the persisted attribute's value.
optional .gateway_protocol.JobResultCorrections corrections = 2;- Specified by:
getCorrectionsOrBuilderin interfaceGatewayOuterClass.JobResultOrBuilder
-
hasDeniedReason
public boolean hasDeniedReason()The reason provided by the user task listener for denying the work.
optional string deniedReason = 3;- Specified by:
hasDeniedReasonin interfaceGatewayOuterClass.JobResultOrBuilder- Returns:
- Whether the deniedReason field is set.
-
getDeniedReason
The reason provided by the user task listener for denying the work.
optional string deniedReason = 3;- Specified by:
getDeniedReasonin interfaceGatewayOuterClass.JobResultOrBuilder- Returns:
- The deniedReason.
-
getDeniedReasonBytes
public com.google.protobuf.ByteString getDeniedReasonBytes()The reason provided by the user task listener for denying the work.
optional string deniedReason = 3;- Specified by:
getDeniedReasonBytesin interfaceGatewayOuterClass.JobResultOrBuilder- Returns:
- The bytes for deniedReason.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GatewayOuterClass.JobResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.JobResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.JobResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.JobResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.JobResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GatewayOuterClass.JobResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GatewayOuterClass.JobResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GatewayOuterClass.JobResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GatewayOuterClass.JobResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GatewayOuterClass.JobResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GatewayOuterClass.JobResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-