@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest)) { return super.equals(obj); } io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest other = (io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest) obj; boolean result = true; result = result && (getWorkflowInstanceKey() == other.getWorkflowInstanceKey()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + WORKFLOWINSTANCEKEY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getWorkflowInstanceKey()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CancelWorkflowInstance", requestType = io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest.class, responseType = io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest, io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse> getCancelWorkflowInstanceMethod() { io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest, io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse> getCancelWorkflowInstanceMethod; if ((getCancelWorkflowInstanceMethod = GatewayGrpc.getCancelWorkflowInstanceMethod) == null) { synchronized (GatewayGrpc.class) { if ((getCancelWorkflowInstanceMethod = GatewayGrpc.getCancelWorkflowInstanceMethod) == null) { GatewayGrpc.getCancelWorkflowInstanceMethod = getCancelWorkflowInstanceMethod = io.grpc.MethodDescriptor.<io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest, io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "gateway_protocol.Gateway", "CancelWorkflowInstance")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceResponse.getDefaultInstance())) .setSchemaDescriptor(new GatewayMethodDescriptorSupplier("CancelWorkflowInstance")) .build(); } } } return getCancelWorkflowInstanceMethod; }
public static Builder newBuilder(io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override
public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest prototype) {
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest.getDefaultInstance(); }
@java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() {
public CancelWorkflowInstanceCommandImpl(GatewayStub asyncStub, long workflowInstanceKey) { this.asyncStub = asyncStub; this.builder = CancelWorkflowInstanceRequest.newBuilder(); builder.setWorkflowInstanceKey(workflowInstanceKey); }
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest buildPartial() { io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest result = new io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest(this); result.workflowInstanceKey_ = workflowInstanceKey_; onBuilt(); return result; }
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest build() { io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.CancelWorkflowInstanceRequest.getDefaultInstance()) return this; if (other.getWorkflowInstanceKey() != 0L) { setWorkflowInstanceKey(other.getWorkflowInstanceKey()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public static BrokerCancelWorkflowInstanceRequest toCancelWorkflowInstanceRequest( CancelWorkflowInstanceRequest grpcRequest) { final BrokerCancelWorkflowInstanceRequest brokerRequest = new BrokerCancelWorkflowInstanceRequest(); brokerRequest.setWorkflowInstanceKey(grpcRequest.getWorkflowInstanceKey()); return brokerRequest; }
public CancelWorkflowInstanceCommandImpl(GatewayStub asyncStub, long workflowInstanceKey) { this.asyncStub = asyncStub; this.builder = CancelWorkflowInstanceRequest.newBuilder(); builder.setWorkflowInstanceKey(workflowInstanceKey); }