@io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ResolveIncident", requestType = io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest.class, responseType = io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest, io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse> getResolveIncidentMethod() { io.grpc.MethodDescriptor<io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest, io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse> getResolveIncidentMethod; if ((getResolveIncidentMethod = GatewayGrpc.getResolveIncidentMethod) == null) { synchronized (GatewayGrpc.class) { if ((getResolveIncidentMethod = GatewayGrpc.getResolveIncidentMethod) == null) { GatewayGrpc.getResolveIncidentMethod = getResolveIncidentMethod = io.grpc.MethodDescriptor.<io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest, io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse>newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName( "gateway_protocol.Gateway", "ResolveIncident")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse.getDefaultInstance())) .setSchemaDescriptor(new GatewayMethodDescriptorSupplier("ResolveIncident")) .build(); } } } return getResolveIncidentMethod; }
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse.getDefaultInstance(); }
public static ResolveIncidentResponse toResolveIncidentResponse( long key, IncidentRecord incident) { return ResolveIncidentResponse.getDefaultInstance(); }
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.ResolveIncidentResponse.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }