OperationsServiceBase constructor

OperationsServiceBase()

Implementation

OperationsServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.ListOperationsRequest,
          $0.ListOperationsResponse>(
      'ListOperations',
      listOperations_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.ListOperationsRequest.fromBuffer(value),
      ($0.ListOperationsResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.GetOperationRequest, $0.Operation>(
      'GetOperation',
      getOperation_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.GetOperationRequest.fromBuffer(value),
      ($0.Operation value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.DeleteOperationRequest, $1.Empty>(
      'DeleteOperation',
      deleteOperation_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.DeleteOperationRequest.fromBuffer(value),
      ($1.Empty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.CancelOperationRequest, $1.Empty>(
      'CancelOperation',
      cancelOperation_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.CancelOperationRequest.fromBuffer(value),
      ($1.Empty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.WaitOperationRequest, $0.Operation>(
      'WaitOperation',
      waitOperation_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.WaitOperationRequest.fromBuffer(value),
      ($0.Operation value) => value.writeToBuffer()));
}