Class GatewayOuterClass.JobResult.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GatewayOuterClass.JobResult.Builder>
com.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.JobResult.Builder>
io.camunda.zeebe.gateway.protocol.GatewayOuterClass.JobResult.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,GatewayOuterClass.JobResultOrBuilder,Cloneable
- Enclosing class:
GatewayOuterClass.JobResult
public static final class GatewayOuterClass.JobResult.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.JobResult.Builder>
implements GatewayOuterClass.JobResultOrBuilder
Protobuf type
gateway_protocol.JobResult-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Attributes that were corrected by the worker.Indicates 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.Attributes that were corrected by the worker.Attributes that were corrected by the worker.Attributes that were corrected by the worker.booleanIndicates 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.Descriptors.DescriptorbooleanAttributes 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanAttributes that were corrected by the worker.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Attributes that were corrected by the worker.setCorrections(GatewayOuterClass.JobResultCorrections.Builder builderForValue) Attributes that were corrected by the worker.setDenied(boolean value) Indicates whether the worker denies the work, i.e. explicitly doesn't approve it.setDeniedReason(String value) The reason provided by the user task listener for denying the work.setDeniedReasonBytes(com.google.protobuf.ByteString value) The reason provided by the user task listener for denying the work.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<GatewayOuterClass.JobResult.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<GatewayOuterClass.JobResult.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<GatewayOuterClass.JobResult.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<GatewayOuterClass.JobResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GatewayOuterClass.JobResult.Builder>
-
mergeFrom
public GatewayOuterClass.JobResult.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.JobResult.Builder>- Throws:
IOException
-
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.
-
setDenied
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;- Parameters:
value- The denied to set.- Returns:
- This builder for chaining.
-
clearDenied
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;- Returns:
- This builder for chaining.
-
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.
-
setCorrections
public GatewayOuterClass.JobResult.Builder setCorrections(GatewayOuterClass.JobResultCorrections value) 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; -
setCorrections
public GatewayOuterClass.JobResult.Builder setCorrections(GatewayOuterClass.JobResultCorrections.Builder builderForValue) 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; -
mergeCorrections
public GatewayOuterClass.JobResult.Builder mergeCorrections(GatewayOuterClass.JobResultCorrections value) 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; -
clearCorrections
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; -
getCorrectionsBuilder
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; -
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.
-
setDeniedReason
The reason provided by the user task listener for denying the work.
optional string deniedReason = 3;- Parameters:
value- The deniedReason to set.- Returns:
- This builder for chaining.
-
clearDeniedReason
The reason provided by the user task listener for denying the work.
optional string deniedReason = 3;- Returns:
- This builder for chaining.
-
setDeniedReasonBytes
public GatewayOuterClass.JobResult.Builder setDeniedReasonBytes(com.google.protobuf.ByteString value) The reason provided by the user task listener for denying the work.
optional string deniedReason = 3;- Parameters:
value- The bytes for deniedReason to set.- Returns:
- This builder for chaining.
-