public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadRequest other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadRequest.getDefaultInstance()) return this; if (other.getElementInstanceKey() != 0L) { setElementInstanceKey(other.getElementInstanceKey()); } if (!other.getPayload().isEmpty()) { payload_ = other.payload_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateWorkflowInstancePayload", requestType = io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadRequest.class, responseType = io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadRequest, io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadResponse> getUpdateWorkflowInstancePayloadMethod() { io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadRequest, io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadResponse> getUpdateWorkflowInstancePayloadMethod; if ((getUpdateWorkflowInstancePayloadMethod = GatewayGrpc.getUpdateWorkflowInstancePayloadMethod) == null) { synchronized (GatewayGrpc.class) { if ((getUpdateWorkflowInstancePayloadMethod = GatewayGrpc.getUpdateWorkflowInstancePayloadMethod) == null) { GatewayGrpc.getUpdateWorkflowInstancePayloadMethod = getUpdateWorkflowInstancePayloadMethod = io.grpc.MethodDescriptor.<io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadRequest, io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "gateway_protocol.Gateway", "UpdateWorkflowInstancePayload")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadResponse.getDefaultInstance())) .setSchemaDescriptor(new GatewayMethodDescriptorSupplier("UpdateWorkflowInstancePayload")) .build(); } } } return getUpdateWorkflowInstancePayloadMethod; }
/** * <pre> * the new payload as a JSON document; see CreateWorkflowInstanceRequest for the rules * about payloads * </pre> * * <code>string payload = 2;</code> */ public Builder clearPayload() { payload_ = getDefaultInstance().getPayload(); onChanged(); return this; } /**
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadRequest getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.UpdateWorkflowInstancePayloadRequest.getDefaultInstance(); }