/** * <pre> * list of activated jobs * </pre> * * <code>repeated .gateway_protocol.ActivatedJob jobs = 1;</code> */ public io.zeebe.gateway.protocol.GatewayOuterClass.ActivatedJob.Builder addJobsBuilder() { return getJobsFieldBuilder().addBuilder( io.zeebe.gateway.protocol.GatewayOuterClass.ActivatedJob.getDefaultInstance()); } /**
/** * <pre> * list of activated jobs * </pre> * * <code>repeated .gateway_protocol.ActivatedJob jobs = 1;</code> */ public io.zeebe.gateway.protocol.GatewayOuterClass.ActivatedJob.Builder addJobsBuilder( int index) { return getJobsFieldBuilder().addBuilder( index, io.zeebe.gateway.protocol.GatewayOuterClass.ActivatedJob.getDefaultInstance()); } /**
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.ActivatedJob other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.ActivatedJob.getDefaultInstance()) return this; if (other.getKey() != 0L) { setKey(other.getKey());
/** * <pre> * a set of custom headers defined during modelling; returned as a serialized * JSON document * </pre> * * <code>string customHeaders = 4;</code> */ public Builder clearCustomHeaders() { customHeaders_ = getDefaultInstance().getCustomHeaders(); onChanged(); return this; } /**
/** * <pre> * JSON document, computed at activation time, consisting of all visible variables to * the task scope * </pre> * * <code>string payload = 8;</code> */ public Builder clearPayload() { payload_ = getDefaultInstance().getPayload(); onChanged(); return this; } /**
/** * <pre> * the name of the worker which activated this job * </pre> * * <code>string worker = 5;</code> */ public Builder clearWorker() { worker_ = getDefaultInstance().getWorker(); onChanged(); return this; } /**
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.ActivatedJob getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.ActivatedJob.getDefaultInstance(); }
/** * <pre> * the type of the job (should match what was requested) * </pre> * * <code>string type = 2;</code> */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /**