FlowsServiceBase constructor

FlowsServiceBase()

Implementation

FlowsServiceBase() {
  $addMethod($grpc.ServiceMethod<$3.CreateFlowRequest, $3.Flow>(
      'CreateFlow',
      createFlow_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $3.CreateFlowRequest.fromBuffer(value),
      ($3.Flow value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$3.DeleteFlowRequest, $1.Empty>(
      'DeleteFlow',
      deleteFlow_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $3.DeleteFlowRequest.fromBuffer(value),
      ($1.Empty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$3.ListFlowsRequest, $3.ListFlowsResponse>(
      'ListFlows',
      listFlows_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $3.ListFlowsRequest.fromBuffer(value),
      ($3.ListFlowsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$3.GetFlowRequest, $3.Flow>(
      'GetFlow',
      getFlow_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $3.GetFlowRequest.fromBuffer(value),
      ($3.Flow value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$3.UpdateFlowRequest, $3.Flow>(
      'UpdateFlow',
      updateFlow_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $3.UpdateFlowRequest.fromBuffer(value),
      ($3.Flow value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$3.TrainFlowRequest, $2.Operation>(
      'TrainFlow',
      trainFlow_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $3.TrainFlowRequest.fromBuffer(value),
      ($2.Operation value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$3.ValidateFlowRequest, $3.FlowValidationResult>(
          'ValidateFlow',
          validateFlow_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $3.ValidateFlowRequest.fromBuffer(value),
          ($3.FlowValidationResult value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$3.GetFlowValidationResultRequest,
          $3.FlowValidationResult>(
      'GetFlowValidationResult',
      getFlowValidationResult_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $3.GetFlowValidationResultRequest.fromBuffer(value),
      ($3.FlowValidationResult value) => value.writeToBuffer()));
}