public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.FailJobRequest other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.FailJobRequest.getDefaultInstance()) return this; if (other.getJobKey() != 0L) { setJobKey(other.getJobKey()); } if (other.getRetries() != 0) { setRetries(other.getRetries()); } if (!other.getErrorMessage().isEmpty()) { errorMessage_ = other.errorMessage_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public FailJobCommandImpl(GatewayStub asyncStub, long key) { this.asyncStub = asyncStub; builder = FailJobRequest.newBuilder(); builder.setJobKey(key); }
public FailJobCommandImpl(GatewayStub asyncStub, long key) { this.asyncStub = asyncStub; builder = FailJobRequest.newBuilder(); builder.setJobKey(key); }